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
  • qifeng sun
    qifeng sun
    6,274 Points

    dont know whats wrong

    Posted August 19, 2017 7:42pm by qifeng sun
    qifeng sun
    6,274 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • Phillip Rones
    Phillip Rones
    863 Points

    Not sure what I'm doing wrong, please help!

    Posted July 25, 2017 5:59pm by Phillip Rones
    Phillip Rones
    863 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • Ben Santen
    Ben Santen
    1,998 Points

    I do not see my code error

    Posted July 22, 2017 5:42pm by Ben Santen
    Ben Santen
    1,998 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    2 Answers

  • Karthikeyan s
    PLUS
    Karthikeyan s
    Courses Plus Student 2,444 Points

    Update the check_speed method to compare the value in the car_speed parameter to the value in the speed_limit parameter.

    Posted June 10, 2017 3:17pm by Karthikeyan s
    Karthikeyan s
    Courses Plus Student 2,444 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    3 Answers

  • Patrick Burke
    Patrick Burke
    5,885 Points

    I have been stuck for so long pls I just want the answer.

    Posted May 24, 2017 6:43am by Patrick Burke
    Patrick Burke
    5,885 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • Zia Khan
    PLUS
    Zia Khan
    Courses Plus Student 9,868 Points

    Ruby Control structure, Else Challenge, bonking early in the morning... help

    Posted May 22, 2017 7:33am by Zia Khan
    Zia Khan
    Courses Plus Student 9,868 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    2 Answers

  • muna alkhalil
    muna alkhalil
    2,798 Points

    what is wrong with my code?

    Posted May 6, 2017 7:30pm by muna alkhalil
    muna alkhalil
    2,798 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    2 Answers

  • Rachel Gunn
    Rachel Gunn
    5,073 Points

    In Ruby Track: I'm so confused!!

    Posted February 21, 2017 3:39pm by Rachel Gunn
    Rachel Gunn
    5,073 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • Marguerite Holden
    Marguerite Holden
    6,075 Points

    Don't understand this challenge of ruby has a bug.

    Posted November 3, 2016 1:51am by Marguerite Holden
    Marguerite Holden
    6,075 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    2 Answers

  • Marguerite Holden
    Marguerite Holden
    6,075 Points

    Don't get this. Maybe I'm getting error by mistake from ruby.

    Posted November 2, 2016 4:07pm by Marguerite Holden
    Marguerite Holden
    6,075 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    2 Answers

  • Richard Poirier
    PLUS
    Richard Poirier
    Courses Plus Student 2,930 Points

    Stumped for the night

    Posted April 17, 2016 5:02am by Richard Poirier
    Richard Poirier
    Courses Plus Student 2,930 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    2 Answers

  • Lenka Zajic
    Lenka Zajic
    3,970 Points

    can't solve challenge in Ruby Operators and structures

    Posted January 3, 2016 10:08pm by Lenka Zajic
    Lenka Zajic
    3,970 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • Lenka Zajic
    Lenka Zajic
    3,970 Points

    Can't solve challenge in Ruby Operators and Structures

    Posted January 3, 2016 10:05pm by Lenka Zajic
    Lenka Zajic
    3,970 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • Kent Drummond
    Kent Drummond
    8,309 Points

    if/else statement

    Posted December 28, 2015 5:59pm by Kent Drummond
    Kent Drummond
    8,309 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • Unsubscribed User
    Unsubscribed User
    7,386 Points

    Set a variable called "too_fast" equal to "true" if the car_speed is faster than the speed_limit and "false" if the car_

    Posted November 28, 2015 7:32am by Unsubscribed User
    Unsubscribed User
    7,386 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • Unsubscribed User
    Unsubscribed User
    7,386 Points

    Could the writer of these questions PLEASE start using appropriate punctuation? I'm not understanding the question.

    Posted November 28, 2015 6:56am by Unsubscribed User
    Unsubscribed User
    7,386 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • Alphonse Cuccurullo
    Alphonse Cuccurullo
    2,513 Points

    At a loss i need to make it true if the speed is greater then the speed limit an false if it is below.

    Posted November 13, 2015 6:37pm by Alphonse Cuccurullo
    Alphonse Cuccurullo
    2,513 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • Jon Dolan
    Jon Dolan
    565 Points

    How to set a variable to be true for one situation and false for another

    Posted August 19, 2015 10:10pm by Jon Dolan
    Jon Dolan
    565 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • Aaron Figueroa
    Aaron Figueroa
    2,860 Points

    How do I format this if/ elsif statement to be correct?

    Posted August 7, 2015 2:22am by Aaron Figueroa
    Aaron Figueroa
    2,860 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    2 Answers

  • isaacpollock
    isaacpollock
    1,023 Points

    I'm not sure what to do here. It seems unclear to me

    Posted June 29, 2015 2:32pm by isaacpollock
    isaacpollock
    1,023 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • tamirg
    tamirg
    6,201 Points

    workspace is having technical issues

    Posted May 24, 2015 9:49pm by tamirg
    tamirg
    6,201 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    2 Answers

  • tamirg
    tamirg
    6,201 Points

    I've tried several times, went back to video and researched on forum. I can't get the variable to work.

    Posted May 23, 2015 9:14pm by tamirg
    tamirg
    6,201 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    3 Answers

  • Sara Brothers
    Sara Brothers
    7,341 Points

    Ruby Oper

    Posted April 28, 2015 9:24pm by Sara Brothers
    Sara Brothers
    7,341 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • Justin Henderson
    Justin Henderson
    13,739 Points

    I'm not sure if my syntax is correct here?

    Posted March 14, 2015 7:11pm by Justin Henderson
    Justin Henderson
    13,739 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    1 Answer

  • sethedwards
    sethedwards
    1,141 Points

    I can not figure this out!

    Posted March 8, 2015 2:53pm by sethedwards
    sethedwards
    1,141 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    2 Answers

  • Chris Brennan
    PLUS
    Chris Brennan
    Courses Plus Student 551 Points

    Set a variable called "too_fast" equal to "true" if the car_speed is faster than the speed_limit and "false" if the car_

    Posted January 22, 2015 4:34am by Chris Brennan
    Chris Brennan
    Courses Plus Student 551 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    6 Answers

  • Mark Weinberg
    Mark Weinberg
    1,100 Points

    Set a variable called "too_fast" equal to "true" if the car_speed is faster than the speed_limit and "false" if the car_

    Posted December 15, 2014 9:56pm by Mark Weinberg
    Mark Weinberg
    1,100 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge

    2 Answers

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