Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript JavaScript Quickstart Data Types and Variables Creating Variables

2nd line in won't let me pass. " var myAge = "33";"

2nd line in won't let me pass. " var myAge = "33";"

scripts.js
var myName = "taylor";
var myAge = "33";
rydavim
rydavim
18,814 Points

If KRIS NIKOLAISEN has fully addressed your question, I would encourage you to mark as Best Answer to let them know and flag your post as solved. Happy coding!

1 Answer

The error message you receive is: Did you assign the myAge variable your age as a number?

Numbers aren't enclosed in quotes.