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

New No-Code Track! 🚀 New videos dropping every week—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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • Rahul Mokaria
    Rahul Mokaria
    10,959 Points

    alert ="Hi" is correct when in functions

    Posted May 28, 2022 11:33am by Rahul Mokaria
    Rahul Mokaria
    10,959 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Ranflin Diaz Baez
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Ranflin Diaz Baez
    Full Stack JavaScript Techdegree Student 1,357 Points

    Create a function error

    Posted March 26, 2022 1:41am by Ranflin Diaz Baez
    .a{fill-rule:evenodd;}techdegree
    Ranflin Diaz Baez
    Full Stack JavaScript Techdegree Student 1,357 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Aaron McGlothin
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Aaron McGlothin
    Full Stack JavaScript Techdegree Student 1,764 Points

    I have no idea of the true syntax. 20th try and nothing.

    Posted February 16, 2022 2:47pm by Aaron McGlothin
    .a{fill-rule:evenodd;}techdegree
    Aaron McGlothin
    Full Stack JavaScript Techdegree Student 1,764 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Iris Heidebrecht
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Iris Heidebrecht
    Front End Web Development Techdegree Graduate 14,878 Points

    im having promble with this code

    Posted May 11, 2021 10:04pm by Iris Heidebrecht
    .a{fill-rule:evenodd;}techdegree seal-36
    Iris Heidebrecht
    Front End Web Development Techdegree Graduate 14,878 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    2 Answers

  • Iris Heidebrecht
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Iris Heidebrecht
    Front End Web Development Techdegree Graduate 14,878 Points

    function sayHi() { const Hi= (); { alert(Hi); Im trying to complete this challenge and if anyone could help. Thanks

    Posted May 11, 2021 8:52pm by Iris Heidebrecht
    .a{fill-rule:evenodd;}techdegree seal-36
    Iris Heidebrecht
    Front End Web Development Techdegree Graduate 14,878 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    2 Answers

  • Alessandra Cruz
    Alessandra Cruz
    8,058 Points

    Creating a fuction

    Posted April 23, 2021 4:21am by Alessandra Cruz
    Alessandra Cruz
    8,058 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Alonzo Delk
    Alonzo Delk
    6,991 Points

    Ok I got confused as to why my call function is not working, can I get some feedback please?

    Posted April 4, 2021 2:49pm by Alonzo Delk
    Alonzo Delk
    6,991 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    2 Answers

  • james presley
    james presley
    6,154 Points

    Im stuck on this. can someone help me with the answer please.

    Posted March 20, 2021 7:55am by james presley
    james presley
    6,154 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Tyler Redmann
    Tyler Redmann
    2,127 Points

    Gwfd

    Posted October 29, 2020 5:22pm by Tyler Redmann
    Tyler Redmann
    2,127 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    1 Answer

  • clifford dsouza
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    clifford dsouza
    Full Stack JavaScript Techdegree Student 1,755 Points

    Inside the sayHi() function, add the code to make an alert dialogue appear with the word "Hi" in it.

    Posted July 27, 2020 6:12pm by clifford dsouza
    .a{fill-rule:evenodd;}techdegree
    clifford dsouza
    Full Stack JavaScript Techdegree Student 1,755 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    2 Answers

  • malcolm mowlam
    malcolm mowlam
    3,856 Points

    challenge task 3of 3 calling the function

    Posted June 28, 2020 7:25pm by malcolm mowlam
    malcolm mowlam
    3,856 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    1 Answer

  • malcolm mowlam
    malcolm mowlam
    3,856 Points

    calling the function

    Posted June 28, 2020 7:08pm by malcolm mowlam
    malcolm mowlam
    3,856 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    2 Answers

  • malcolm mowlam
    malcolm mowlam
    3,856 Points

    how do you start creating a function in javascript

    Posted May 9, 2020 7:35am by malcolm mowlam
    malcolm mowlam
    3,856 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    3 Answers

  • Cuong Huynh
    Cuong Huynh
    235 Points

    alert dialogue

    Posted May 7, 2020 9:41pm by Cuong Huynh
    Cuong Huynh
    235 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    1 Answer

  • Iifo Edward
    Iifo Edward
    16,020 Points

    javascript

    Posted April 17, 2020 12:31am by Iifo Edward
    Iifo Edward
    16,020 Points
    • JavaScript
    • JavaScript Functions
    • Create Reusable Code with Functions
    • Creating a Function

    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.