-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (24 loc) · 821 Bytes
/
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
<!DOCTYPE html>
<html lang="en">peter-atonga/wk2-code-challenge-shopping-list
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<!-- link the CSS stylesheet -->
<link rel="stylesheet" href="./styles.css"></link></head>
</head>
<body>
<h1 id="heading">My shopping list</h1>
<!-- create form element and pass inputs -->
<form id="form">
<label id="label" for="new shopping item">Shopping item:</label>
<input id="input" type="text" id="input" placeholder="item"/>
<input id="submit" type="submit" value="Add"/>
</form>
<div id="division">
<h4>List</h4>
</div>
<!-- link the DOM file for DOM manipulation -->
<script src="index.js"></script>
</body>
</html>