Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 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! 🤑

  • 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
  • Lincoln Byrnside
    Lincoln Byrnside
    1,451 Points

    Dont understand

    Posted March 23, 2019 2:53pm by Lincoln Byrnside
    Lincoln Byrnside
    1,451 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    1 Answer

  • xavier carter
    xavier carter
    4,938 Points

    hello we added the semicolon however the answer is not right what is the correct answer

    Posted August 15, 2018 4:21pm by xavier carter
    xavier carter
    4,938 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    2 Answers

  • Maurice Yong
    Maurice Yong
    9,187 Points

    Semi-colon after Javascript function should go after closing curly-bracket?

    Posted March 7, 2018 1:29pm by Maurice Yong
    Maurice Yong
    9,187 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    2 Answers

  • Frank Formica
    Frank Formica
    3,595 Points

    Is it just me or is there a bug? I put the semicolon right after Math.Floor then the error tells me to do just that.

    Posted February 22, 2018 6:55pm by Frank Formica
    Frank Formica
    3,595 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    2 Answers

  • Diogo Henriques
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Diogo Henriques
    iOS Development Techdegree Student 8,035 Points

    (hint: it's kind of like a period in a sentence) I dont understand here i can put him!

    Posted March 22, 2017 11:57pm by Diogo Henriques
    .a{fill-rule:evenodd;}techdegree
    Diogo Henriques
    iOS Development Techdegree Student 8,035 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    1 Answer

  • Elijah Chand
    Elijah Chand
    2,173 Points

    What is the closing character and where is it placed

    Posted March 13, 2017 8:39pm by Elijah Chand
    Elijah Chand
    2,173 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    1 Answer

  • Carter Nichols
    Carter Nichols
    4,386 Points

    When I try adding the closing character, I get an error: There was an error with your code: SyntaxError: Parse error

    Posted September 22, 2016 12:53pm by Carter Nichols
    Carter Nichols
    4,386 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    1 Answer

  • Bella Burnett Caldwell
    Bella Burnett Caldwell
    2,132 Points

    how do you add a closing character to the end of the body function.

    Posted July 2, 2016 10:53pm by Bella Burnett Caldwell
    Bella Burnett Caldwell
    2,132 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    1 Answer

  • farah hussain
    farah hussain
    9,218 Points

    closing characters

    Posted May 18, 2016 7:15pm by farah hussain
    farah hussain
    9,218 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    2 Answers

  • Amanda Baldwin
    Amanda Baldwin
    2,983 Points

    Where do I add a semicolon (;) to a function body?

    Posted December 15, 2015 1:49am by Amanda Baldwin
    Amanda Baldwin
    2,983 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    1 Answer

  • ruben kovalenko
    ruben kovalenko
    1,570 Points

    what is the closing character for a ending body function and were do I put it.

    Posted November 8, 2015 11:37pm by ruben kovalenko
    ruben kovalenko
    1,570 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    2 Answers

  • ruben kovalenko
    ruben kovalenko
    1,570 Points

    what is the closing character for a ending body function and were do I put it.

    Posted November 8, 2015 11:37pm by ruben kovalenko
    ruben kovalenko
    1,570 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    1 Answer

  • Sammy Lammy
    Sammy Lammy
    2,011 Points

    can't figure this out

    Posted September 16, 2015 3:33pm by Sammy Lammy
    Sammy Lammy
    2,011 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    1 Answer

  • David Showers
    David Showers
    1,507 Points

    im not sure where i need to put the closing character.

    Posted September 8, 2015 1:54pm by David Showers
    David Showers
    1,507 Points
    • JavaScript
    • Treehouse Club - MASH
    • MASH - JavaScript
    • The Structure of Functions - Part 2 of 3

    1 Answer

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