Before we can start building anything interesting, we should have a way to jot down our thoughts. Therefore the first thing we will build is a tool to keep track of what needs to be done. The infamous To-Do app, allowing us to keep temporary notes.

So what are the requirements? The ability to add a note, read our notes, and to clear them off. Additionally, we need a space to keep these notes in, and a web page to access them through. Let's start with the page! You can edit the code below.

... loading editor ...

What does this do? HTML is how we code the layout of a web page.

Now, try changing the h1 text from "Title" to the name of our app, "Thoughts".

See how the preview live updated? This helps us see our code as we type it.

Now we want to write code that reacts to a user pressing the 'add' button. We can do this using raw javascript but it quickly becomes verbose, so to keep things concise we will use a popular library called jQuery. Also, we need a way to store the thoughts, so we will include GUN as well.

Insert the following inbetween the ending ul tag and the ending body tag:

Wonderful! You should have gotten the alert message, this means writing code works! Let's replace the alert line with code that reacts to user input.

What's going on here?

Now that users can jot down their thoughts, we need a place to save them.

Replace the alert line in the submit function with the following:

Fantastic! Now that we can successfully store data, we want show the data!