🤑 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
  • Anton Kilk
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Anton Kilk
    Full Stack JavaScript Techdegree Student 11,256 Points

    Why I get a bummer message?

    Posted May 11, 2019 4:01pm by Anton Kilk
    .a{fill-rule:evenodd;}techdegree
    Anton Kilk
    Full Stack JavaScript Techdegree Student 11,256 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    1 Answer

  • Jasmin chang
    Jasmin chang
    3,342 Points

    Complete the code below to call the function and pass the value 12 to it: 

    Posted February 19, 2019 4:23pm by Jasmin chang
    Jasmin chang
    3,342 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    4 Answers

  • Mark Reitz
    Mark Reitz
    692 Points

    what did I do wrong here?

    Posted June 10, 2018 3:33pm by Mark Reitz
    Mark Reitz
    692 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    3 Answers

  • baderbouta
    baderbouta
    7,804 Points

    Difference between 'parameter' and an 'argument'?

    Posted May 16, 2018 9:40am by baderbouta
    baderbouta
    7,804 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    2 Answers

  • Baasanbat Erdenedavaa
    Baasanbat Erdenedavaa
    868 Points

    Help me? What is answer

    Posted March 20, 2018 9:49am by Baasanbat Erdenedavaa
    Baasanbat Erdenedavaa
    868 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    1 Answer

  • Cristabel Nichols
    Cristabel Nichols
    1,645 Points

    Function: how do give it "12" as a value?

    Posted October 15, 2017 4:45am by Cristabel Nichols
    Cristabel Nichols
    1,645 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    1 Answer

  • Jorge Montava Arsis
    Jorge Montava Arsis
    1,648 Points

    Please fill the blank exercise..

    Posted August 5, 2017 1:47pm by Jorge Montava Arsis
    Jorge Montava Arsis
    1,648 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    2 Answers

  • Jorge Montava Arsis
    Jorge Montava Arsis
    1,648 Points

    I would like to know the answer of the Quiz's question: 'Please fill in the correct blank', thank you

    Posted August 5, 2017 1:40pm by Jorge Montava Arsis
    Jorge Montava Arsis
    1,648 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    0 Answers

  • Apoorv Gusain
    Apoorv Gusain
    1,270 Points

    Which of the following shows an example of passing an argument to a function?

    Posted July 2, 2017 7:36am by Apoorv Gusain
    Apoorv Gusain
    1,270 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    2 Answers

  • Logan Allender
    PLUS
    Logan Allender
    Courses Plus Student 1,744 Points

    What is the correct Answer.

    Posted March 9, 2017 2:04am by Logan Allender
    Logan Allender
    Courses Plus Student 1,744 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    1 Answer

  • Piotr PoÅ‚aniecki
    PLUS
    Piotr Połaniecki
    Courses Plus Student 3,181 Points

    What am I doing wrong?

    Posted February 10, 2017 7:43am by Piotr Połaniecki
    Piotr Połaniecki
    Courses Plus Student 3,181 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    5 Answers

  • Josian Acevedo
    Josian Acevedo
    3,662 Points

    Complete the code below to call the function and pass the value 12 to it:

    Posted December 21, 2016 3:59am by Josian Acevedo
    Josian Acevedo
    3,662 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    1 Answer

  • ashique desai
    ashique desai
    3,662 Points

    how to pass the value '12' to this function?

    Posted November 21, 2016 5:44am by ashique desai
    ashique desai
    3,662 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    1 Answer

  • musab abdi
    musab abdi
    2,096 Points

    i need little bit of help on this one

    Posted September 20, 2016 5:57pm by musab abdi
    musab abdi
    2,096 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    0 Answers

  • Sandeep Krishnan
    Sandeep Krishnan
    9,730 Points

    Complete the code below to call the function and pass the value 12 to it: function getRandom( upper ) { return Mat

    Posted September 14, 2016 5:48pm by Sandeep Krishnan
    Sandeep Krishnan
    9,730 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    1 Answer

  • Frantisek Dvorak
    Frantisek Dvorak
    139 Points

    Does anyone else have an issue with quizes on Treehouse?

    Posted July 3, 2016 8:30pm by Frantisek Dvorak
    Frantisek Dvorak
    139 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    1 Answer

  • Steve Fan
    Steve Fan
    8,218 Points

    Quiz Question: I tried to create many different arguments but none of those is correct answer. Could anyone help plz

    Posted June 30, 2016 2:40pm by Steve Fan
    Steve Fan
    8,218 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    2 Answers

  • Ellie Brain
    Ellie Brain
    1,210 Points

    What line of code will call the function and pass 12 to it?

    Posted March 29, 2016 8:11pm by Ellie Brain
    Ellie Brain
    1,210 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    1 Answer

  • Seth Warner
    Seth Warner
    5,348 Points

    For the following question

    Posted January 17, 2016 6:19am by Seth Warner
    Seth Warner
    5,348 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    2 Answers

  • jitendra goyal
    jitendra goyal
    3,752 Points

    function getRandom( upper ) { return Math.floor(Math.random() * upper) + 1; }

    Posted December 7, 2015 11:14pm by jitendra goyal
    jitendra goyal
    3,752 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    2 Answers

  • Bakari Lewis
    Bakari Lewis
    6,556 Points

    Not sure why I am not passing. Am I passing the '12' the wrong way? im confused

    Posted July 20, 2015 4:26pm by Bakari Lewis
    Bakari Lewis
    6,556 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    2 Answers

  • Sjoerd Vermeijden
    Sjoerd Vermeijden
    844 Points

    Passing value not working

    Posted July 12, 2015 6:14pm by Sjoerd Vermeijden
    Sjoerd Vermeijden
    844 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    0 Answers

  • Daniel Hildreth
    Daniel Hildreth
    16,170 Points

    Need help on "Giving Information to Functions" course.

    Posted June 1, 2015 12:04am by Daniel Hildreth
    Daniel Hildreth
    16,170 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    5 Answers

  • vwarner
    vwarner
    1,583 Points

    Why getRandom(12); is incorrect?

    Posted February 2, 2015 1:23am by vwarner
    vwarner
    1,583 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Review: Giving Information to Functions

    6 Answers

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.