-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
30 lines (30 loc) · 1.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<title>RVC List v4.0</title>
<link rel="stylesheet" href="style.css">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/> <!--320-->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="RVCList" content="Add to Home">
<meta name="description" content="JS App Created by RVC Web233 Students">
<meta name="author" content="Noah MacMurchy">
</head>
<body>
<script src="script.js"></script>
<div id="wrapper">
<h1>Shopping List</h1>
<label>Item</label><input type="text" id="item" name="item" onkeydown = "if (event.keyCode == 13)
document.getElementById('btnSubmit').click()" maxlength="18" placeholder="enter item < 19 characters"/>
<input class="button" id="btnSubmit" name="submit" type="button" value="+Add" onclick="addShoppingList(item.value)" /><br>
<p id="MyList"></p>
<p id="labels"></p>
<p id="MyCart"></p>
<p id="sharelist"></p>
<p id="btnShare"><input class="button" id="shares" name="shares" type="submit" value="Share Shopping List" onclick="share()"></p>
</div>
</body>
</html>