Added dynamic creation of the note form divs

This commit is contained in:
2020-05-26 18:23:49 +02:00
parent 1e6a4b2fdf
commit fefde63871
3 changed files with 83 additions and 27 deletions
+4 -8
View File
@@ -20,14 +20,10 @@
<div id=addNoteDiv>
<button type="button" id=addNoteButton>+</button>
</div>
<div id=noteFormDiv>
<form id=noteForm>
<input type="text" name="noteTitle" id="inputTitle" placeholder="Enter title...">
<div>
<textarea name=noteText id=noteText placeholder="Enter notes..."></textarea>
</div>
<button type="button" id=saveNoteButton>Save</button>
</form>
<div id=allNotesDiv>
</div>
<div id=saveProgressDiv>
<progress id=saveProgress value=0 max=100></progress>
</div>
</body>
</html>