Created
December 30, 2018 16:41
-
-
Save eladcandroid/8ecbdbc66be2211dc663d80bfd10748b to your computer and use it in GitHub Desktop.
shopping list exercise
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"> | |
<title>Shopping list example</title> | |
<style> | |
li { | |
margin-bottom: 10px; | |
} | |
li button { | |
font-size: 8px; | |
margin-left: 20px; | |
color: #666; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>My shopping list</h1> | |
<div> | |
<label for="item">Enter a new item:</label> | |
<input type="text" name="item" id="item"> | |
<button>Add item</button> | |
</div> | |
<ul> | |
</ul> | |
<script> | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment