Learn about our new Community Discord server here and join us on Discord here!

Jump into our new React Basics course 😎

Get job-ready with our Career Toolbox Track's career advice, resume tips, and more 🧰

Probe The AI Multiverse: Exploring the Subfields of Artificial Intelligence 😮

Students: got a cool project or resource to share? Submit it to Treehouse Links! 🤩

Learn about our new Community Discord server here and join us on Discord here!

🤖 Check out all our AI content here 👀

  • Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • AI
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
  • Rahul Mokaria
    Rahul Mokaria
    10,052 Points

    alert ="Hi" is correct when in functions

    Posted May 28, 2022 11:33am by Rahul Mokaria
    Rahul Mokaria
    10,052 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
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.