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 trialdemian arizaleta
3,382 PointsAlert and first prompt works but var num 2 doesnt show the prompt, tried rewringting it am i typing something wrong?
alert("LetΒ΄s do some math!");
var num1 = prompt("Please type a number");
num1 = parsefloat(num1);
var num2 = prompt("Please type another number");
num2 = parsefloat(num2);
1 Answer
Elijah Quesada
Front End Web Development Techdegree Graduate 32,965 PointsThereβs a typo with parsefloat; it should be parseFloat.
If you look in your console after running the code, it will output an error parsefloat is not defined.
demian arizaleta
3,382 Pointsdemian arizaleta
3,382 Pointsthank you