/
index.html
38 lines (33 loc) · 1.03 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta name="HandheldFriendly" content="true">
<link rel="stylesheet" type="text/css" href="style.css">
<title>Note App</title>
</head>
<body onload="checkEdits()">
<div class="container">
<h1>Simple Note App</h1>
<p>Create, save, and edit your notes in this minimalist note-taking app</p>
<div class="buttons">
<button class="save-button" onclick="newElement()">Save</button>
<button class="delete-button" onclick="clearElement()">Clear</button>
</div>
<div id="myDiv" class="new-note">
<textarea id="myInput" placeholder="What's on your mind?"></textarea>
</div>
<div class="notespace">
<h3>Saved notes</h3>
<div id="emptytext"></div>
<div id="update"></div>
<ul id="saved-notes" contenteditable="true"></ul>
<ul id="myNotes" contenteditable="true">
</ul>
</div>
</div>
<script src="main.js"></script>
</body>
</html>