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 trialMichael Cheung
Courses Plus Student 505 PointsMan I dont know how to solve ?
Both Task 1&2 are hard !
// Enter your code below
let value = 200
let divisor = 5
let someOperation = 20 + 400 % 10 / 2 - 15
let anotherOperation = 52 * 27 % 200 / 2 + 5
// Task 1 - Enter your code below
let result = value % divisor
let isPerfectMultiple = result == 0
// Task 2 - Enter your code below
let isGreater = someOperation ≥ anotherOperation
2 Answers
Logan R
22,989 PointsHi!
You're using the wrong character. Instead of using some fancy character, you need to use >=
. Fix this and it'll work!
let isGreater = someOperation >= anotherOperation
John Fotheringham
191 PointsThank you for clarifying. All of the code challenges have been really straightforward thus far, but this one proved more difficult (especially for newbies like me!) since the preceding videos didn't go over using the ">=" syntax required to complete it (only > was covered). The examples we practiced included only:
1 > 2 // false
2 > 1 // true
"a" > "b" // true
"b" > "a" // false
Not complaining, just pointing out a place for improvement (I do curriculum development and know how easy it is to miss little details like this when making an entire course). Where is the best place to provide feedback to Treehouse on this?
Michael Cheung
Courses Plus Student 505 PointsMichael Cheung
Courses Plus Student 505 PointsThanks Logan !
Logan R
22,989 PointsLogan R
22,989 PointsNo problem!