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 trialGurleen Singh
1,452 PointsGetting an Error
http://prntscr.com/dtjjry Thats a screenshot off the problem, please help, I'm pretty sure its exactly the same as in the video, but still getting an error.
5 Answers
Josue Gisber
Courses Plus Student 9,332 PointsGood! Paying attention to details is very important in programming. Any typo can cause a bug.
Daniel Walker
2,031 PointsGood job debugging your own code!
Renan A
4,425 PointsThe l in let is capitalized. It should be lowercased
~Let~
let
Montana Braswell
555 Pointshey guys, so I'm also getting an error.
//Binary Operators
let height: Double = 12 // in ft let width: Double = 10 // ft
let area = height * width // Area in sq ft // 1 sq meter = 1 sq foot / 10.764
let areaInMeters = area/10.764
this still gives me an issue with the " note: overloads for '/' exist with these partially matching parameter lists: (Double, Double), (Int, Int) let areaInMeters = area/10.764"
Any thoughts?
Ali Fahmi
983 Pointsvar height: Double = 12.0 var width: Double = 10.0 var sq: Double = 10.764
let area = height * width
let areaInMeters = area/sq
Gurleen Singh
1,452 PointsGurleen Singh
1,452 PointsSolved it, the problem was that 'let' started with a capital L and not lowercase. :)