There is an onclick event for the button so the javascript would be activated when clicking that button. In my javascript I had to use variables to store the information in there and then use that varibale later for the computer to use it for the calculations. I used window.alert to tell the user the results. This is relevant to web design because I learned how to use variables so I can apply this javascript to every individual instead of just one person. I see myself using this skill in the future for when I want the user to directly interact with the website.
Friday, November 18, 2016
Lab 3 Reflection Journal
There is an onclick event for the button so the javascript would be activated when clicking that button. In my javascript I had to use variables to store the information in there and then use that varibale later for the computer to use it for the calculations. I used window.alert to tell the user the results. This is relevant to web design because I learned how to use variables so I can apply this javascript to every individual instead of just one person. I see myself using this skill in the future for when I want the user to directly interact with the website.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment