🤑 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
  • Gloria Cornelius
    Gloria Cornelius
    302 Points

    else if statement

    Posted October 11, 2023 6:24pm by Gloria Cornelius
    Gloria Cornelius
    302 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    1 Answer

  • xczurymqdj
    xczurymqdj
    2,289 Points

    Im not sure where im going wrong please can someone help me

    Posted June 12, 2022 7:56pm by xczurymqdj
    xczurymqdj
    2,289 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    4 Answers

  • xczurymqdj
    xczurymqdj
    2,289 Points

    Im not sure what im doing wrong with my code. Could someone help me walk through it please?

    Posted June 10, 2022 5:55pm by xczurymqdj
    xczurymqdj
    2,289 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    2 Answers

  • Jane Yount
    Jane Yount
    4,522 Points

    How to figure out this question?

    Posted April 27, 2022 9:12pm by Jane Yount
    Jane Yount
    4,522 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    1 Answer

  • Alana Warson
    Alana Warson
    5,296 Points

    else if clause I cannot get this ... there is a small thing I'm missing...

    Posted February 19, 2021 12:29am by Alana Warson
    Alana Warson
    5,296 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    5 Answers

  • xajx
    xajx
    6,553 Points

    Why is my code wrong?

    Posted November 6, 2020 6:11am by xajx
    xajx
    6,553 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    3 Answers

  • Chris Hicks
    Chris Hicks
    2,876 Points

    add an else if clause basic javascript

    Posted August 19, 2020 5:16pm by Chris Hicks
    Chris Hicks
    2,876 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    3 Answers

  • Khatia Bagaturia
    Khatia Bagaturia
    2,050 Points

    Please explain to me what is my mistake ? I tried to write the code in all possible way it is taking long

    Posted July 26, 2020 2:11am by Khatia Bagaturia
    Khatia Bagaturia
    2,050 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    1 Answer

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

    Add an else if clause that tests if the isStudent variable is true. If it's true, set the value of the message variable

    Posted July 25, 2020 3:08pm by clifford dsouza
    .a{fill-rule:evenodd;}techdegree
    clifford dsouza
    Full Stack JavaScript Techdegree Student 1,755 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    2 Answers

  • Kathleen OKeife
    Kathleen OKeife
    1,960 Points

    What is wrong with this code?

    Posted May 13, 2020 8:23pm by Kathleen OKeife
    Kathleen OKeife
    1,960 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    1 Answer

  • Ryan Myers
    Ryan Myers
    6,606 Points

    not sure what is wrong here

    Posted April 20, 2020 3:47am by Ryan Myers
    Ryan Myers
    6,606 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    1 Answer

  • Matthew Grove
    Matthew Grove
    5,811 Points

    Add an else if clause that tests if the isStudent variable is true. If it's true, set the value of the message variable

    Posted April 19, 2020 5:54pm by Matthew Grove
    Matthew Grove
    5,811 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    1 Answer

  • SHAWNELL HARRISON
    SHAWNELL HARRISON
    16,282 Points

    Can you please help. I keep getting error message.THANKS

    Posted April 15, 2020 6:09pm by SHAWNELL HARRISON
    SHAWNELL HARRISON
    16,282 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    1 Answer

  • SHAWNELL HARRISON
    SHAWNELL HARRISON
    16,282 Points

    Can you please help. I keep getting error message.THANKS

    Posted April 15, 2020 6:09pm by SHAWNELL HARRISON
    SHAWNELL HARRISON
    16,282 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    0 Answers

  • Shaily Sharma
    Shaily Sharma
    1,431 Points

    if and else if statement

    Posted March 17, 2020 4:33am by Shaily Sharma
    Shaily Sharma
    1,431 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add an 'else if' Clause

    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.