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

🤑 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

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

  • 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
    • Showing results for:
    • JavaScript
    • JavaScript Functions
    • Arrow Functions
    • Function Challenge Solution
    • Close
  • Damien Lavizzo
    Damien Lavizzo
    4,411 Points

    My Solution (with HTML)

    Posted on Dec 25, 2023 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 on Dec 18, 2023 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 on Nov 3, 2022 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 on May 23, 2022 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 on Mar 9, 2022 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 on Dec 12, 2021 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 on Sep 13, 2021 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 on Aug 6, 2021 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 on Apr 12, 2021 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 on Oct 5, 2020 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 on Oct 5, 2020 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 on Sep 12, 2020 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 on Aug 20, 2020 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 on Aug 8, 2020 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 on Jul 9, 2020 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 on Jul 9, 2020 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 on Jun 18, 2020 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 on Jun 16, 2020 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 on May 7, 2020 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 on Apr 27, 2020 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 on Mar 23, 2020 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 on Mar 14, 2020 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.