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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or 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
      • • Vibe Coding
    • Showing results for:
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Else challenge
    • Close
  • qifeng sun
    qifeng sun
    6,274 Points

    dont know whats wrong

    Posted on Aug 19, 2017 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 on Jul 25, 2017 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 on Jul 22, 2017 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 on Jun 10, 2017 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 on May 24, 2017 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 on May 22, 2017 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 on May 6, 2017 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 on Feb 21, 2017 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 on Nov 3, 2016 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 on Nov 2, 2016 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 on Apr 17, 2016 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 on Jan 3, 2016 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 on Jan 3, 2016 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 on Dec 28, 2015 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 on Nov 28, 2015 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 on Nov 28, 2015 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 on Nov 13, 2015 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 on Aug 19, 2015 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 on Aug 7, 2015 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 on Jun 29, 2015 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 on May 24, 2015 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 on May 23, 2015 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 on Apr 28, 2015 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 on Mar 14, 2015 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 on Mar 8, 2015 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 on Jan 22, 2015 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 on Dec 15, 2014 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.

    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.