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.

Julie Roadnight
2,856 PointsUsing Math Methods
Hello TreeHouse community I'm in the process of completing the Using Math Methods coding challenge as part of JavaScript Basics, and I'm stuck. Can someone please explain why this doesn't work please?
The question is; 'For this Code Challenge you need to use JavaScript's Math methods. Open an alert dialog and display the temperature variable rounded to the nearest integer.'
This is my code; 'var temperature = 37.5; altert(Math.round(temperature));'
I have an error message, saying my code is wrong. Any suggestions welcome. Thanks
2 Answers

Ben Schroeder
22,818 PointsIt looks like you spelled "alert" wrong.

Julie Roadnight
2,856 PointsD'oh! Thank you Ben!