Instantly share code, notes, and snippets.

Embed
What would you like to do?
Randomize app project template from https://learnvanillajs.com.

Project Details

Write an app that randomly picks an option for a list of choices. Users should be able to add and delete items from the list.

Bonus: Save the list between sessions.

Considerations

  • Can users edit items in the list, or only add and delete them?
  • How will you choose a random item from the list?

Need help?

This project is part of the Web Apps pocket guide and video course.

<!DOCTYPE html>
<html>
<head>
<title>Project Template</title>
<style type="text/css">
body {
margin-left: auto;
margin-right: auto;
max-width: 40em;
width: 88%;
}
</style>
</head>
<body>
<h1>Randomize</h1>
<div id="app"></div>
<script>
// Project code...
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment