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 trialAlsaig Sandra
Front End Web Development Techdegree Graduate 15,434 PointsWhy is my last return value different from the one in video?
I have used the same values as Dave in the challenge but my last log was 879.4448810753124 instead of 1563.4575663561109. Is there anyone who could tell me what I'm doing wrong, or how this happens..
TIA
Steven Parker
231,222 PointsIf you make a snapshot of your workspace and post the link to it here, we can take a look.
1 Answer
Addy Grothues
Full Stack JavaScript Techdegree Student 11,062 PointsHey Sandra! I think I figure it out. It looks like you may have inputted 3/4 instead of 4/3 for the volume of the sphere calculation. When you input it as 3/4 instead, you end up with 879.4448810753124 as the outcome. Instead, try to switch the numbers around to be 4/3 instead, and that should give you the correct output. Hope that helps!
Sean T. Unwin
28,690 PointsSean T. Unwin
28,690 PointsPlease show us your code so we can look at the issue more closely.