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

🤑 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

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

  • 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
    • Making Decisions in Your Code with Conditional Statements
    • Program Multiple Outcomes
    • Close
  • Jessica Perry
    Jessica Perry
    2,688 Points

    Teacher notes Question: What does the "+" in +guessMore (+guessLess etc..) variable mean?

    Posted on Jun 25, 2023 by Jessica Perry
    Jessica Perry
    2,688 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Program Multiple Outcomes

    1 Answer

  • monique champagne
    monique champagne
    761 Points

    single or double quotes!

    Posted on Apr 6, 2023 by monique champagne
    monique champagne
    761 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Program Multiple Outcomes

    3 Answers

  • Devan Jeffner
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Devan Jeffner
    Full Stack JavaScript Techdegree Student 770 Points

    else-if.js

    Posted on Dec 7, 2022 by Devan Jeffner
    .a{fill-rule:evenodd;}techdegree
    Devan Jeffner
    Full Stack JavaScript Techdegree Student 770 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Program Multiple Outcomes

    1 Answer

  • Angelica Islas
    Angelica Islas
    4,082 Points

    I have questions about the curly brackets from the example. It doesn't look like they are all closed to me.

    Posted on Jul 7, 2021 by Angelica Islas
    Angelica Islas
    4,082 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Program Multiple Outcomes

    1 Answer

  • Forrest Pollard
    Forrest Pollard
    1,988 Points

    What is wrong with this code?

    Posted on Feb 22, 2021 by Forrest Pollard
    Forrest Pollard
    1,988 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Program Multiple Outcomes

    2 Answers

  • vikrant kaushal
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    vikrant kaushal
    Front End Web Development Techdegree Student 2,558 Points

    how to would i add user input and still run this code?

    Posted on Nov 16, 2020 by vikrant kaushal
    .a{fill-rule:evenodd;}techdegree
    vikrant kaushal
    Front End Web Development Techdegree Student 2,558 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Program Multiple Outcomes

    3 Answers

  • Daniel Statsenko
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Daniel Statsenko
    Full Stack JavaScript Techdegree Student 4,235 Points

    The very last else{} in the program yields a "Uncaught TypeError: Assignment to constant variable."?

    Posted on Nov 3, 2020 by Daniel Statsenko
    .a{fill-rule:evenodd;}techdegree
    Daniel Statsenko
    Full Stack JavaScript Techdegree Student 4,235 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Program Multiple Outcomes

    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.