JavaScript

Tuesday April 8, 2025
updated: April 10, 2002

 
Home
Getting Started
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6
Lesson 7
Lesson 8
Resources
Credits

 

 


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.

True False

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".

True False


© 2002 Tracy Johnson