Devlog 3 - Working on JS
Completed working on basic UI design, Now lets work on backend desk!
Called all the necessary elements from HTML into JS. Then added function for the submit button to add the list menu with text that the user have entered in the input box and also added the codes that makes and get current/today date from the device and add that also into the list.
Connect the list with local storage for save the list menu.
For that to show the saved list when ever the user opened the website, created a function ‘renderMsg()’
In renderMsg() added a if condition to show that if there is no saved list or it was a new user, show the empty state.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.