Module 3: Introduction to JavaScript and Web Design
Here’s the link to my updated site: http://drew-williams.infinityfree.me/Module3.html For this assignment, I started by testing the sample JavaScript code. The code worked as expected, it created three variables (price1, price2, and total) , added the first two numbers together, and displayed the result in the webpage. The object in this example is the document , and the variables are price1 , price2 , and total . Seeing the output appear on the page helped reinforce how JavaScript connects with HTML elements. I also read Chapters 2–4 of Eloquent JavaScript . These chapters went into more detail on program structure, functions, and how code flows in JavaScript. It was useful to see the fundamentals broken down step by step. The last part of the assignment involved creating an image in three formats: PNG, JPG, and GIF. I exported my test image (which is just a personal icon I developed for my professional portfolio) in all three and added them to my Module 3 page. After comparing th...