HTML Assignment 7 - Learning more Javascript
While this assignment is beyond the scope of the Client Side Scripting 1 curriculum, a web design course would be incomplete if you did not have some exposure to Javascript.
This assignment is therefore required for those on pace to earn the Client Side 2 credit too. I hope you have time to finish it but there is no pressure to complete it for homework unless you are interested.
You have 2 options for this project:
- Use your Vacation Resort page to experiment with JavaScript
- Use the CodeCademy website to further your learning.
Option 1: Vacation Resort JavaScript
- Add a slide show or a light box to your Resort website’s main picture div. To find the sample code: w3schools.com… Tutorials Menu… Learn How To...
- Add a fancy menu to your site. Assume your resort has different locations in your favourite cities of the world. Then create simple HTML pages for each by coping and pasting some text from other sites. You do not need to add pictures, you just need some pages for your menu to link to. Suggestions for menu styles on w3schools include:
- Add an animated icon. If you feel really ambitious, you can create something simple in Paint. Otherwise, just use one of the ones on the w3school site and find a good place for it.
Option 2: Use CodeCademy to Learn More
Sign up for Codecademy using your school Google account and find the course called Make an Interactive Website. Your job is to finish as much as you can. You will find that the javascript language is very similar to Processing with the following major exceptions:
- You do not need to declare a data type in JavaScript. In other words, just the word var replaces int, float, String, etc.
- Functions are set up differently and in fact, also use the word var sometimes