Updated:

I started my very first (and tiny) JavaScript project, creating a to-do list! 😺

I looked at:

  • Creating a html file with (1) a text box with a placeholder (2) a button that creates an alert (and that’s pretty much it haha)

  • Some basic attributes of html input type text

The page looks like this for now:

Screenshot of the page 1

And creates the following alert box (which doesn’t actually add anything to the list):

Screenshot of the html2

The next steps are:

  1. Storing the input (Should I let the browser remember it when refreshed? Check JS methods for saving cookies)
  2. Creating a function to print all the stored input
  3. Maybe creating a delete button and a pop-up box that shows the full text when hovering the mouse on each of the to-do element?

Way to go! 😊

Tags:

Categories:

Updated:

Leave a comment