Skip to content

Instantly share code, notes, and snippets.

@daanaerts
Created September 17, 2017 11:04
Show Gist options
  • Save daanaerts/31b329b9d86e64b167f0c9b725623ad1 to your computer and use it in GitHub Desktop.
Save daanaerts/31b329b9d86e64b167f0c9b725623ad1 to your computer and use it in GitHub Desktop.
Make a HTML todo list.
```
const myList = 'Make homework. Brush teeth. Buy a pony. Call my mother. Make a todo list.'
```
Result should look like this in HTML:
• Make homework.
• Brush teeth.
• Buy a pony.
• Call my mother.
• Make a todo list.
Rules:
1) You may NOT split the string manually (you must use a javascript operator to do this).
2) You may NOT write any text directly into the HTML
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment