Day # 94: Notes
Handling text that is entered by the visitor is simply mandatory for any frontend developer. That being said, for today’s project I’ve decided to do something that I’ve always wanted to do, given my writing background, which is a note making website.
Above all, we need to include a textarea element so that the visitor can introduce his/her text. Then, we need to be able to process that text and show it in another section once the note has been entirely written.
And finally to show that note, we need to display it in a separate div, which we can do by creating elements in Javascript and assigning it classes so we can style it in CSS.
This website has two main functionalities: the edit button and the delete button. To delete a note we simply use the remove() method to eliminate it from the DOM.
Comments
Post a Comment