🤑 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
    • Showing results for:
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function
    • Close
  • Cing Lun
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Cing Lun
    Full Stack JavaScript Techdegree Student 1,811 Points

    I keep getting this message when my answer is right . How do I fix this? I can't move forward with this message

    Posted on Feb 20, 2020 by Cing Lun
    .a{fill-rule:evenodd;}techdegree
    Cing Lun
    Full Stack JavaScript Techdegree Student 1,811 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Munyaradzi Matewe
    Munyaradzi Matewe
    1,953 Points

    call the new sayHi function you just created

    Posted on Jun 5, 2019 by Munyaradzi Matewe
    Munyaradzi Matewe
    1,953 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    0 Answers

  • Munyaradzi Matewe
    Munyaradzi Matewe
    1,953 Points

    call the new sayHi function you just created

    Posted on Jun 5, 2019 by Munyaradzi Matewe
    Munyaradzi Matewe
    1,953 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Rhonda Laurence
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Rhonda Laurence
    Full Stack JavaScript Techdegree Graduate 17,304 Points

    I'm adding my alert wrong, can anyone help? Inside the sayHi() function add the code to make an alert appear with the wo

    Posted on May 12, 2019 by Rhonda Laurence
    .a{fill-rule:evenodd;}techdegree seal-36
    Rhonda Laurence
    Full Stack JavaScript Techdegree Graduate 17,304 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    6 Answers

  • Elisha Ajayi
    Elisha Ajayi
    3,433 Points

    i'm lost

    Posted on Dec 7, 2018 by Elisha Ajayi
    Elisha Ajayi
    3,433 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Clayton Bowland
    Clayton Bowland
    2,874 Points

    function alert

    Posted on Dec 1, 2018 by Clayton Bowland
    Clayton Bowland
    2,874 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Wesley Moody
    Wesley Moody
    718 Points

    creating a function

    Posted on Mar 6, 2018 by Wesley Moody
    Wesley Moody
    718 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Devin Kelly
    Devin Kelly
    7,343 Points

    Challenge Task 3 of 3 Call the new sayHi function you just created.

    Posted on Nov 5, 2017 by Devin Kelly
    Devin Kelly
    7,343 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    3 Answers

  • Richard Schiller
    Richard Schiller
    9,238 Points

    Stumped trying to fix this one. Any smart folks out there?

    Posted on Aug 13, 2017 by Richard Schiller
    Richard Schiller
    9,238 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Tony Bourne
    Tony Bourne
    2,432 Points

    Call the new say Hi function you just created!

    Posted on Aug 12, 2017 by Tony Bourne
    Tony Bourne
    2,432 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    3 Answers

  • Janneke Polderman
    Janneke Polderman
    7,157 Points

    Oops! It looks like Task 1 is no longer passing.

    Posted on Feb 28, 2017 by Janneke Polderman
    Janneke Polderman
    7,157 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    2 Answers

  • Sherry Parker
    Sherry Parker
    3,020 Points

    I am stuck here??

    Posted on Oct 16, 2016 by Sherry Parker
    Sherry Parker
    3,020 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    2 Answers

  • Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points

    Call the new sayHi function you just created.

    Posted on Apr 30, 2016 by Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Jason Peay
    Jason Peay
    16,515 Points

    Creating a function

    Posted on Apr 28, 2016 by Jason Peay
    Jason Peay
    16,515 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    2 Answers

  • cathy mitchell
    cathy mitchell
    8,249 Points

    javascript

    Posted on Jan 18, 2016 by cathy mitchell
    cathy mitchell
    8,249 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Rodrigo Alarcon
    Rodrigo Alarcon
    8,028 Points

    what am i doing wrong?

    Posted on Oct 28, 2015 by Rodrigo Alarcon
    Rodrigo Alarcon
    8,028 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    2 Answers

  • Jason Kang
    Jason Kang
    2,749 Points

    Create a function named sayHi. Don't put any code inside the function yet, just create the basic structure with an empty

    Posted on Sep 19, 2015 by Jason Kang
    Jason Kang
    2,749 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    4 Answers

  • Zachary Pratt
    Zachary Pratt
    2,395 Points

    Communication Problems

    Posted on Aug 20, 2015 by Zachary Pratt
    Zachary Pratt
    2,395 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    3 Answers

  • anthony woods
    anthony woods
    8,208 Points

    Inside the sayHi() function add the code to make an alert appear with the word "Hi" in it. The alert command should go i

    Posted on May 29, 2015 by anthony woods
    anthony woods
    8,208 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Andrew Alvarez
    Andrew Alvarez
    11,964 Points

    Hi

    Posted on May 25, 2015 by Andrew Alvarez
    Andrew Alvarez
    11,964 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    5 Answers

  • Edwin Castro
    PLUS
    Edwin Castro
    Courses Plus Student 24,037 Points

    How to call a function?

    Posted on Apr 26, 2015 by Edwin Castro
    Edwin Castro
    Courses Plus Student 24,037 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Holly Lethbridge
    Holly Lethbridge
    6,504 Points

    Challenge task 3 0f 3 keeps giving me a communication error.

    Posted on Apr 22, 2015 by Holly Lethbridge
    Holly Lethbridge
    6,504 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    2 Answers

  • Victor Gordian
    Victor Gordian
    4,656 Points

    It doesn't let me pass

    Posted on Apr 16, 2015 by Victor Gordian
    Victor Gordian
    4,656 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    2 Answers

  • davide totaro
    davide totaro
    5,559 Points

    Call the new sayHi function you just created.

    Posted on Mar 13, 2015 by davide totaro
    davide totaro
    5,559 Points
    • JavaScript
    • JavaScript Basics (Retired)
    • Creating Reusable Code with Functions
    • Creating a Function

    3 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.