Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord