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 trialdavid randolph
2,182 PointsI dont understand why my answer comes up as a bummer for areaInFeet Challenge.
let height = 120.0 let width = 144.0
let area = height * width
Let areaInFeet = area /12
// the height and width of a wall
let height = 120.0 / 10
let width = 144.0 / 12
let area = height * width
let areaInFeet = area
david randolph
2,182 PointsThanks the response, I tried 12 as well in my code and it still came up. Bummer
2 Answers
Jhoan Arango
14,575 PointsHello David :
Here is what you are looking for
let height = 120.0 / 12
let width = 144.0 / 12
let areaInFeet = height * width
what you were trying to do also works...
let height = 120.0 / 12
let width = 144.0 / 12
let area = height * width
let areaInFeet = area
david randolph
2,182 PointsThanks Johan
That was the best answer
Jeffrey Kempster
14,738 PointsJeffrey Kempster
14,738 PointsYou're dividing height by 10 not 12