-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
46 lines (40 loc) · 1.69 KB
/
index.html
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
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link href="https://fonts.googleapis.com/css?family=Karla:400,700&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/81e6d1b2b6.js" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
<title>To-Do List</title>
</head>
<body class="main">
<header class="header">
<div id="date"></div>
<h2>Let's get things done.</h2>
</header>
<section class="add-card">
<input class="add-card__text" type=text placeholder="Enter a title for your list here" required>
<button class="add-card__button" type="button" aria-label="button to add card">+</button>
</sections>
<section class="card-container"></section>
<template id="todo-card">
<article class="card">
<h3 class="card__title"> Shopping List </h3>
<button class="card_remove-button" aria-label="button to remove card" type="button">-</button>
<p class="card__description"> Any info the user wants to add</p>
<ul class="card__list" id="cardList">
</ul>
<section>
<label for="userToDo"></label>
<input class="card__user-input" type="text" placeholder="Enter your list item" id="userToDo"></input>
<button class="card__add-list-item-button" type="button" aria-label="button to add to do item">+</button>
</section>
</article>
</template>
<script src="script.js"></script>
<script src="test-helpers.js"></script>
<script src="tests.js"></script>
</body>
</html>