🤑 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
    • 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
  • Keller FREAKhouse
    Keller FREAKhouse
    9,474 Points

    Add a conditional statement that tests if the value in variable a is greater than the value in variable b. If it is, log

    Posted November 8, 2024 4:30pm by Keller FREAKhouse
    Keller FREAKhouse
    9,474 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • Anna Bazileeva
    Anna Bazileeva
    1,249 Points

    challenge task 1

    Posted September 18, 2023 3:59am by Anna Bazileeva
    Anna Bazileeva
    1,249 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • Fidelis Chime
    Fidelis Chime
    6,077 Points

    conditional statement

    Posted October 7, 2022 11:07pm by Fidelis Chime
    Fidelis Chime
    6,077 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    2 Answers

  • Gil Noyman
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Gil Noyman
    Full Stack JavaScript Techdegree Student 13,421 Points

    Types error

    Posted February 16, 2022 4:05am by Gil Noyman
    .a{fill-rule:evenodd;}techdegree
    Gil Noyman
    Full Stack JavaScript Techdegree Student 13,421 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • Tom Galkov
    Tom Galkov
    4,870 Points

    I don't understand this

    Posted January 4, 2022 11:52pm by Tom Galkov
    Tom Galkov
    4,870 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • Ricky Redman
    Ricky Redman
    7,520 Points

    difficulty completing this conditional statement

    Posted July 26, 2021 3:54pm by Ricky Redman
    Ricky Redman
    7,520 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • Angelica Islas
    Angelica Islas
    4,082 Points

    What did I do wrong?

    Posted July 7, 2021 12:21am by Angelica Islas
    Angelica Islas
    4,082 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • angilen pineda
    angilen pineda
    2,706 Points

    a>b

    Posted April 7, 2021 7:58am by angilen pineda
    angilen pineda
    2,706 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • james presley
    james presley
    6,154 Points

    can someone show me whats wrong with my code or what im missing

    Posted March 18, 2021 1:17pm by james presley
    james presley
    6,154 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • Samuel Bueno
    Samuel Bueno
    767 Points

    conditional stetament test

    Posted January 26, 2021 7:38pm by Samuel Bueno
    Samuel Bueno
    767 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    3 Answers

  • Samuel Bueno
    Samuel Bueno
    767 Points

    conditional statement test

    Posted January 26, 2021 7:34pm by Samuel Bueno
    Samuel Bueno
    767 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    2 Answers

  • Samuel Bueno
    Samuel Bueno
    767 Points

    conditional statement

    Posted January 26, 2021 6:44pm by Samuel Bueno
    Samuel Bueno
    767 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • Bob Szesnat
    Bob Szesnat
    6,477 Points

    Hi, I am wondering why this isn't correct, what am I missing?

    Posted January 16, 2021 6:09pm by Bob Szesnat
    Bob Szesnat
    6,477 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • Kamran Hussain
    Kamran Hussain
    396 Points

    Thought I did this correctly as well? Apparently not?

    Posted December 1, 2020 10:59pm by Kamran Hussain
    Kamran Hussain
    396 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • John Fulstone
    PLUS
    John Fulstone
    Courses Plus Student 762 Points

    Add a conditional statement that tests if the value in variable a is greater than the value in variable b. If it is, log

    Posted October 8, 2020 8:30pm by John Fulstone
    John Fulstone
    Courses Plus Student 762 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    2 Answers

  • Michael Gilley
    Michael Gilley
    6,124 Points

    Not sure what I am doing wrong

    Posted August 7, 2020 11:18am by Michael Gilley
    Michael Gilley
    6,124 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    2 Answers

  • Jaimin Patel
    Jaimin Patel
    9,020 Points

    Idk why my code is not working.

    Posted June 3, 2020 7:03pm by Jaimin Patel
    Jaimin Patel
    9,020 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • KJ Lee
    KJ Lee
    1,059 Points

    What would the final code be here?

    Posted April 30, 2020 3:27am by KJ Lee
    KJ Lee
    1,059 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    2 Answers

  • Alphonso Tippie II
    Alphonso Tippie II
    2,454 Points

    else { console.log('a is NOT greater then b'); }

    Posted April 20, 2020 1:46am by Alphonso Tippie II
    Alphonso Tippie II
    2,454 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    1 Answer

  • Naiyana Williams
    Naiyana Williams
    9,932 Points

    I'm getting an error saying to make sure I am writing the conditional statement correctly. What am I missing?

    Posted April 17, 2020 11:10pm by Naiyana Williams
    Naiyana Williams
    9,932 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    3 Answers

  • Courage Ngonidzaishe Moyosvi
    Courage Ngonidzaishe Moyosvi
    28,998 Points

    Add a conditional statement that tests if the value in variable a is greater than the value in variable b

    Posted March 20, 2020 2:15pm by Courage Ngonidzaishe Moyosvi
    Courage Ngonidzaishe Moyosvi
    28,998 Points
    • JavaScript
    • JavaScript Basics
    • Making Decisions in Your Code with Conditional Statements
    • Use Comparison Operators

    3 Answers

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.