JavaScript
Tuesday April 8, 2025updated: April 10, 2002
Check Your Understanding: Lesson Three 1. In the example, var colour="red", the variable "colour" is considered a string.
True False
2. In the example var colour="red", the value of the variable is colour.
3. If the variable colour="red" then, the JavaScript document.write(My favourite colour is + " colour ") will write the text "My favourite color is red".
[Home] [Getting started] [resources] [Credits] [Lesson 1] [Lesson 2] [Lesson 3] [Lesson 4] [Lesson 5] [Lesson 6] [Lesson 7] [Lesson 8] © 2002 Tracy Johnson