🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Damien Lavizzo
    Damien Lavizzo
    4,411 Points

    My Solution (with HTML)

    Posted December 25, 2023 6:12am by Damien Lavizzo
    Damien Lavizzo
    4,411 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    1 Answer

  • Abigail Puckett
    Abigail Puckett
    2,111 Points

    My entire function appearing in the console ?

    Posted December 18, 2023 8:29pm by Abigail Puckett
    Abigail Puckett
    2,111 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    1 Answer

  • Tural Rzazade
    Tural Rzazade
    3,750 Points

    A solution including "lower" ( "min" in the video ) value 0.

    Posted November 3, 2022 12:30pm by Tural Rzazade
    Tural Rzazade
    3,750 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    2 Answers

  • Nicolás Melgarejo
    Nicolás Melgarejo
    15,647 Points

    My solution / random between two numbers

    Posted May 23, 2022 4:19am by Nicolás Melgarejo
    Nicolás Melgarejo
    15,647 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    0 Answers

  • Spencer Renfro
    PLUS
    Spencer Renfro
    Courses Plus Student 11,133 Points

    Storing upper and lower numbers from user input

    Posted March 9, 2022 4:22pm by Spencer Renfro
    Spencer Renfro
    Courses Plus Student 11,133 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    1 Answer

  • Ken Del Valle
    Ken Del Valle
    976 Points

    Someone please help with this alternative

    Posted December 12, 2021 11:21pm by Ken Del Valle
    Ken Del Valle
    976 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    2 Answers

  • ja5on
    ja5on
    10,338 Points

    random formula

    Posted September 13, 2021 12:48pm by ja5on
    ja5on
    10,338 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    3 Answers

  • Kelsey Donegan
    Kelsey Donegan
    3,342 Points

    Why does swapping the higher value with the lower value still (mostly) work ?

    Posted August 6, 2021 5:07pm by Kelsey Donegan
    Kelsey Donegan
    3,342 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    1 Answer

  • Dinu Comendant
    Dinu Comendant
    6,049 Points

    What's the point?

    Posted April 12, 2021 4:47pm by Dinu Comendant
    Dinu Comendant
    6,049 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    2 Answers

  • T. Gontarek
    T. Gontarek
    7,030 Points

    My solution: Please review and give any comments that could make the code better. Thank you.

    Posted October 5, 2020 4:47pm by T. Gontarek
    T. Gontarek
    7,030 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    1 Answer

  • Kevin Leong
    Kevin Leong
    1,664 Points

    return statement

    Posted October 5, 2020 4:47am by Kevin Leong
    Kevin Leong
    1,664 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    2 Answers

  • Jahnel Madarang
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Jahnel Madarang
    Full Stack JavaScript Techdegree Student 6,798 Points

    I wrote two functions. Why is + string to number required for my function to run properly but not in the other?

    Posted September 12, 2020 4:02am by Jahnel Madarang
    .a{fill-rule:evenodd;}techdegree
    Jahnel Madarang
    Full Stack JavaScript Techdegree Student 6,798 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    4 Answers

  • Darrin Fagley
    Darrin Fagley
    12,432 Points

    Where is the lower number?

    Posted August 20, 2020 3:32pm by Darrin Fagley
    Darrin Fagley
    12,432 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    1 Answer

  • Rachael Zordan
    Rachael Zordan
    1,379 Points

    Why is the return keyword not used if omitting curly braces in arrow functions, but it IS used if keeping curly braces?

    Posted August 8, 2020 7:03pm by Rachael Zordan
    Rachael Zordan
    1,379 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    1 Answer

  • ja5on
    ja5on
    10,338 Points

    I've tested the code and seems ok (had to look at my notes to help is that ok?)

    Posted July 9, 2020 7:23pm by ja5on
    ja5on
    10,338 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    1 Answer

  • ja5on
    ja5on
    10,338 Points

    2 weeks trying to understand and i can't. I've had some feed back but i cannot understand...

    Posted July 9, 2020 3:59pm by ja5on
    ja5on
    10,338 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    2 Answers

  • Kara Caputo
    Kara Caputo
    2,213 Points

    Does const need a different name than function name?

    Posted June 18, 2020 2:50pm by Kara Caputo
    Kara Caputo
    2,213 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    3 Answers

  • pacificbee
    pacificbee
    2,205 Points

    If statement syntax inside arrow functions

    Posted June 16, 2020 6:19pm by pacificbee
    pacificbee
    2,205 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    1 Answer

  • Silvia Ramos
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Silvia Ramos
    Front End Web Development Techdegree Graduate 18,318 Points

    Using arrows

    Posted May 7, 2020 11:51am by Silvia Ramos
    .a{fill-rule:evenodd;}techdegree seal-36
    Silvia Ramos
    Front End Web Development Techdegree Graduate 18,318 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    3 Answers

  • Jason Widjaja
    Jason Widjaja
    7,904 Points

    is my code also acceptable

    Posted April 27, 2020 6:41am by Jason Widjaja
    Jason Widjaja
    7,904 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    1 Answer

  • Kit Howlett
    Kit Howlett
    6,774 Points

    Can someone please explain the actual equation? Thank you :)

    Posted March 23, 2020 3:21pm by Kit Howlett
    Kit Howlett
    6,774 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    7 Answers

  • Ahmed El-Kordy
    Ahmed El-Kordy
    3,565 Points

    Trying to practice what i learned

    Posted March 14, 2020 10:07pm by Ahmed El-Kordy
    Ahmed El-Kordy
    3,565 Points
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.