Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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
  • Mackenzie Byrne
    Mackenzie Byrne
    502 Points

    Not sure what is wrong with my code.

    Posted September 9, 2022 1:46pm by Mackenzie Byrne
    Mackenzie Byrne
    502 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    1 Answer

  • xczurymqdj
    xczurymqdj
    2,289 Points

    Im haveing issues with this final else clause that i need to do and im not sure what im doing wrong, if someone can help

    Posted June 14, 2022 5:23pm by xczurymqdj
    xczurymqdj
    2,289 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    3 Answers

  • Baker Cobb
    Baker Cobb
    3,181 Points

    Bummer: Are you assigning `message` the value "Access denied"?

    Posted September 9, 2021 9:00pm by Baker Cobb
    Baker Cobb
    3,181 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    1 Answer

  • Ricky Redman
    Ricky Redman
    7,520 Points

    this seems to be correct, but alert says to make sure that I'm providing a string value to messsage

    Posted July 26, 2021 5:58pm by Ricky Redman
    Ricky Redman
    7,520 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    1 Answer

  • ROBERT BUTLER
    ROBERT BUTLER
    2,010 Points

    Add a final else clause to this conditional statement. If both the isAdmin and isStudent variables are false, the value

    Posted April 25, 2021 8:40pm by ROBERT BUTLER
    ROBERT BUTLER
    2,010 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    2 Answers

  • starr13
    starr13
    2,494 Points

    Why is this challenge not accepting my code? It says "Bummer ! You add the else clause, but I did include it in my code.

    Posted April 5, 2021 7:45am by starr13
    starr13
    2,494 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    1 Answer

  • starr13
    starr13
    2,494 Points

    Why is this challenge not accepting my answer with all three conditional statements?

    Posted April 4, 2021 8:20pm by starr13
    starr13
    2,494 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    1 Answer

  • Alana Warson
    Alana Warson
    5,296 Points

    final else clause I have been trying to figure this challenge for two days now. Help.

    Posted February 20, 2021 5:39pm by Alana Warson
    Alana Warson
    5,296 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    1 Answer

  • Savannah Jones
    Savannah Jones
    2,135 Points

    Add a final else clause to this conditional statement. If both the isAdmin and isStudent variables are false, the value

    Posted October 31, 2020 11:34pm by Savannah Jones
    Savannah Jones
    2,135 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    4 Answers

  • Magnus Kristensen
    Magnus Kristensen
    1,599 Points

    i'm not able to solve this, could you help me?

    Posted August 15, 2020 9:04pm by Magnus Kristensen
    Magnus Kristensen
    1,599 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    2 Answers

  • Khatia Bagaturia
    Khatia Bagaturia
    2,050 Points

    That is my final Question about Javascript . I am stuck in here . what should I write ? what is my mistake. ? please

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

    1 Answer

  • Rossana Godfrey
    Rossana Godfrey
    11,759 Points

    const isAdmin = false; const isStudent = false; let message; if ( isAdmin ) { message = 'Welcome admin'; } else if (

    Posted June 18, 2020 10:18pm by Rossana Godfrey
    Rossana Godfrey
    11,759 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    1 Answer

  • Ryan Myers
    Ryan Myers
    6,606 Points

    error message is asking if I added an else clause to the end of the statement. Not sure what to do

    Posted April 20, 2020 11:54pm by Ryan Myers
    Ryan Myers
    6,606 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    1 Answer

  • Ryan Myers
    Ryan Myers
    6,606 Points

    need help

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

    0 Answers

  • Ryan Myers
    Ryan Myers
    6,606 Points

    need help

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

    1 Answer

  • SHAWNELL HARRISON
    SHAWNELL HARRISON
    16,282 Points

    Can you please guide me in right direction?

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

    6 Answers

  • Sahmad Nakumbe
    Sahmad Nakumbe
    3,423 Points

    Add a final else clause to this conditional statement. If both the isAdmin and isStudent variables are false, the value

    Posted March 27, 2020 8:20pm by Sahmad Nakumbe
    Sahmad Nakumbe
    3,423 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    10 Answers

  • Jose Padolina
    Jose Padolina
    8,975 Points

    Add a final else clause to this conditional statement. If both the isAdmin and isStudent variables are false, the value

    Posted March 10, 2020 6:46pm by Jose Padolina
    Jose Padolina
    8,975 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Add a Final 'else' Clause

    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