When I started to program I was learning from a book that my parents bought titled “GET CODING! Learn HTML, CSS, and JavaScript and build a website, App, and game.” The book was made by Young Rewired state throughout the book I learned HTML CSS and basic JavaScript. From my learning in the book I created a “Mini Website” which is just a few pages with hyperlinks between them.
Page 1:
The first page is “password” protected with the password being “TrippleA”, the program has two clickable links and if you try to click on them before entering the password it will alert you that you need to enter a password, this is a very basic program as all it does is has the JS check to see if the text box has the correct text in it.
To-Do List:
The To-Do list is still a simple program but much more complex compared to the previous program. Compared to Page one’s HTML which has 29 lines of code, the To-Do list has 103 lines of code which means that it was a much bigger task that I had set up for me. As still nothing but a fletching to programming I managed to pull of the task and even had a local memory feature! The program essentially has a prestyled <div> and when you hit a button it adds a new one of those div’s with the text that was in the text box. There is also a remove item feature when you click on the item, this is done adding a DOM property to each new <div> that is added, essentially that makes it so onclick it will call a JS function that will remove the <div>