Jump to content
Killersites Community
Sign in to follow this  

creating one statement variable answer

Recommended Posts

Chapter 4  part 3

Question 2: Using only one statement, create a variable with the name of 'age' and give it a value of: 18

I answered var age="18"

but the correct answer was

var age= 18

Why my answer was incorrect as it did have the quotes in the right spot.

Edited by webmanz

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this