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 Foundations Numbers Creating Numbers: Part 2

viewer.js not available

How can we type a JavaScript code to define a variable GermanyGDP in index.html? viewer.js is not available

1 Answer

Khurram Muslim
Khurram Muslim
12,391 Points

Simply just you define any other variable, I don't want to give answer but let give you a hint Its like:

var variablename = value assign;

and viewer.js should be included in the end of body but if you're refering to code challenge part 1 or 2 so there is nothing wrong with viewer.js. Its just you define variable and assign value in both challenges