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 trialDaniele Trevisanello
2,289 PointsIt keeps giving me an error using code that looks correct to me. When i click Preview to see the error nothing appears.
As i said in the subject, I'm getting an error but when i click on Preview to see where i made the mistake, nothing appears. Moreover the code looks correct to me. Help me please :)
enum Speed: Int {
case Slow = 10, Medium = 50, Fast = 100
}
var turtleSpeed = Speed.Slow.rawValue
2 Answers
Daniele Trevisanello
2,289 PointsPassed it using Firefox. It was not working with Safari (last version), at least for me.
Steve Hunter
57,712 PointsOdd. I just did the challenge and passed it with code that looks identical to yours:
enum Speed: Int {
case Slow = 10, Medium = 50, Fast = 100
}
var turtleSpeed = Speed.Slow.rawValue
Steve Hunter
57,712 PointsSteve Hunter
57,712 PointsI was in Chrome ... I'll try Safari too.
I just get communication errors in Safari. Won't work at all.