2021-11-26 TIL
Updated:
I continued working on the to-do list project! 😉
I looked at:
- How to dynamically store the input from the user
- Difference between
document.write()andElement.innerHTML - Exact definition of
Node,Element, andDocumentinterface and how they are related
I was not sure why the saved input would load on a new page, then found out that document.write() writes on a document stream and it should only be used when loading the page for the first time.
I spent most of my time today trying to get a better understanding of the Web APIs, so the html page looks pretty much the same as yesterday.
The next steps are:
- Dynamically storing the input using
createTextNodeandappendChild - The rest (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)
Leave a comment