Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Hackeve JS &amp; 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
You can’t perform that action at this time.