For Module 2, I continued building my website by creating a new webpage called Module2.html. I used HTML to create the structure of the page and connected it to the same CSS stylesheet used for my homepage. This helped me learn how multiple pages on a website can share the same styling and maintain a consistent appearance.
I also worked with JavaScript for the first time. I used JavaScript to display the message “This is my first JavaScript!” along with a brief About Me section. This helped me see how JavaScript can be incorporated directly into an HTML document and used to dynamically display content on a webpage.
One challenge I encountered was getting the Module 2 page to load correctly after uploading it to the web server. I initially received a 404 error because of the file name and later experienced issues with my browser displaying a cached version of the page. After correcting the file name and testing the website in a private browser, I was able to get the page working properly. Overall, this module helped me better understand how HTML, CSS, and JavaScript work together when creating a website.
Leave a comment