Created
January 18, 2017 12:37
-
-
Save peey/3439708e19652f4f8a5d8b280688050f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>Hackeve JS & DOM</title> | |
<style> | |
#content-area { | |
display: -webkit-flex; | |
display: flex; | |
-webkit-flex-direction: row; | |
flex-direction: row; | |
} | |
#todo-list, #done-list { | |
flex:1; | |
margin: 5px; | |
} | |
</style> | |
</head> | |
<body> | |
<div> | |
<section> | |
<label> | |
Add a new item | |
<input id="new-item-input-field"/> | |
</label> | |
<button id="new-item-add-button">Add</button> | |
</section> | |
<section id="todo-edit-box" style="visibility:hidden"> | |
<label> | |
Edit The Value of Todo | |
<input/> | |
</label> | |
<button>Update</button> | |
</section> | |
</div> | |
<hr> | |
<div id="content-area"> | |
<section id="todo-list"> | |
<ul> | |
<li>Hi</li> | |
</ul> | |
</section> | |
<section id="done-list"> | |
<ul> | |
<li>Hi</li> | |
</ul> | |
</section> | |
</div> | |
<script src="script.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment