-
Notifications
You must be signed in to change notification settings - Fork 219
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (31 loc) · 995 Bytes
/
index.html
File metadata and controls
39 lines (31 loc) · 995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lab 6 - Web Components</title>
<!-- Main Stylesheet -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Journal Entries</h1>
</header>
<main></main>
<!-- This is what each <journal-entry> will look like -->
<template>
<article class="entry">
<h2 class="entry-title">Template Title</h2>
<p class="entry-date">mm/dd/yyyy</p>
<p class="entry-content">blah blah blah...</p>
<img src="" alt="Some Image" class="entry-image" />
<audio src="" controls class="entry-audio"></audio>
</article>
</template>
<!-- journal-entry web component -->
<script src="./components/journal-entry.js" type="module"></script>
<!-- Main Script -->
<script src="./scripts/script.js" type="module"></script>
</body>
</html>