Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Set the CSS for "html, body, #map" to have padding of 0, margin of 0, width of 100% and height of 100% [RESOLVED]

Is there something wrong with this task? I'm pretty confident when it comes to CSS and although this is very simple it keeps returning a bummer. Code being used html,body,#map{width:100%; height:100%; margin:0; padding:0; }

3 Answers

Ok found the reason why. Dismiss the post.

Melissa Bornbach
Melissa Bornbach
6,675 Points

I had the same problem. Then I switched from the locations.html tab to the map.html tab. Once I entered my code into the map.html, it worked.