Good practice: eg comments in the script, correct indentation, naming variables
Testing: layout matches design; interactivity working; check using different browsers eg Internet Explorer,
Activity:
Using a test plan like the one shown in Table 20.5, test the website you built in CSS (on page 81) and JavaScript (left) for Keystone Zoo.
Firefox, Opera, Chrome, Safari
Activity:
Explain how scripts are implemented differently in two browsers, such as Internet Explorer® and Firefox®.
Activity:
Links to Learning Outcomes |
Links to Assessment criteria |
|
---|---|---|
LO 4 Be able to create interactive web pages |
P5 create interactive web pages using CSS and a scripting language M3 employ good practice in the design and implementation of web pages. P6 test interactive web pages. D2 evaluate the web pages and discuss improvements. |
Comment - an uninterrupted line of code which describes what is happening and helps developers understand how it works.
Reserved word - a word which is already used in the programming language and therefore cannot be used as a variable name.
Area, perimeter, volume: Calculating, applying calculations to real situations
Using the prototype web page you created in the previous activity:
Activity:
• for the unclicked link, the text should be black
• when the user hovers over the link, it should become a larger font size
• when the link is visited, it should become a different font
• when the link is active, the background colour of the link should become yellow.
Final Unit Checking Activity:
What is the purpose of testing?
Anonymous Assessment - Learners assess an anonymous piece of work containing deliberate mistakes against given success criteria.