Web Programming Challenge 5

Javascript DOM Challenge

Using the following source code, add some javascript to modify the page. You will need to add items to the list from a text field and click a button to add to the list.

<html>
<body>
<input id="task"><button id="add">Add</button>
<div id="todos"></div>
</body>
</html>