🤑 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

  • 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
  • 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.

    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.