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 trial

iOS Swift 2.0 Functions Functions in Swift 2.0 Recap: Functions

Jeff Godown
Jeff Godown
1,714 Points

What am I doing wrong here?

Can't get the code challenge to pass this answer. I don't know what's wrong with it.

func temperatureInFarenheit(temperature: Double) -> Double { return temperature }

functions.swift
// Enter your code below
func temperatureInFarenheit(temperature: Double) -> Double {
    return temperature
}
Jeff Godown
Jeff Godown
1,714 Points

Thanks! I knew it was something stupid like that. Thought I checked all the easy stuff, and I forget how to spell Fahrenheit. ;)

1 Answer

Watch your spelling. It should be fahrenheit, not farenheit.