🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀 New videos dropping every week—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
  • K .
    K .
    2,357 Points

    Why does it matter what order we put the 'if' and 'elsif' statements?

    Posted August 6, 2019 11:34pm by K .
    K .
    2,357 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    1 Answer

  • Chris Drummond
    Chris Drummond
    1,469 Points

    This version of the check_speed only prints "speed OK" if the speed is exactly 55 miles per hour. It would be better to

    Posted July 14, 2019 3:02am by Chris Drummond
    Chris Drummond
    1,469 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    1 Answer

  • Chris Drummond
    Chris Drummond
    1,469 Points

    This version of the check_speed only prints "speed OK" if the speed is exactly 55 miles per hour. It would be better to

    Posted July 13, 2019 6:50pm by Chris Drummond
    Chris Drummond
    1,469 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    1 Answer

  • Erin Claudio
    PLUS
    Erin Claudio
    Courses Plus Student 8,403 Points

    I think I found a bug

    Posted April 15, 2019 9:07pm by Erin Claudio
    Erin Claudio
    Courses Plus Student 8,403 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    2 Answers

  • pavilion
    pavilion
    7,454 Points

    Bummer: We called check_speed with an argument greater than 60, but it didn't print "too fast".

    Posted February 20, 2019 4:17am by pavilion
    pavilion
    7,454 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    1 Answer

  • Gregory James
    Gregory James
    6,537 Points

    Speed check

    Posted January 12, 2019 5:41pm by Gregory James
    Gregory James
    6,537 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    2 Answers

  • arzu yildiz
    PLUS
    arzu yildiz
    Courses Plus Student 605 Points

    aszx

    Posted December 6, 2018 4:44am by arzu yildiz
    arzu yildiz
    Courses Plus Student 605 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    0 Answers

  • Blake Baggett
    PLUS
    Blake Baggett
    Courses Plus Student 648 Points

    Stuck on Check Speed Method

    Posted May 25, 2018 12:52am by Blake Baggett
    Blake Baggett
    Courses Plus Student 648 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    2 Answers

  • David Wilson
    David Wilson
    7,073 Points

    A Better "check_speed" Method

    Posted May 19, 2018 2:17am by David Wilson
    David Wilson
    7,073 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    4 Answers

  • Christopher Kemp
    Christopher Kemp
    3,446 Points

    Check_speed

    Posted May 10, 2018 5:26pm by Christopher Kemp
    Christopher Kemp
    3,446 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    1 Answer

  • silva celso
    silva celso
    13,513 Points

    do you the solution to this task\challenge?

    Posted January 25, 2018 4:35am by silva celso
    silva celso
    13,513 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    1 Answer

  • Basto Biih
    Basto Biih
    5,334 Points

    If Conditional Statement

    Posted December 15, 2017 11:24pm by Basto Biih
    Basto Biih
    5,334 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    1 Answer

  • Corina Feraru
    Corina Feraru
    6,257 Points

    Cannot pass the test even thou the exercise passes in IRB

    Posted November 13, 2017 1:35pm by Corina Feraru
    Corina Feraru
    6,257 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    2 Answers

  • Mika Laakso
    Mika Laakso
    4,222 Points

    The code is not working

    Posted November 8, 2017 8:53pm by Mika Laakso
    Mika Laakso
    4,222 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    1 Answer

  • Ediju Rodrigues
    Ediju Rodrigues
    5,214 Points

    This version of the check_speed only prints "speed OK" if the speed is exactly 55 miles per hour.

    Posted October 20, 2017 8:18am by Ediju Rodrigues
    Ediju Rodrigues
    5,214 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    3 Answers

  • neoty888
    neoty888
    23,973 Points

    Note sure what I'm doing wrong for this challenge. Can't get the 'check_speed' to pass for a speed less than 45.

    Posted October 17, 2017 11:32pm by neoty888
    neoty888
    23,973 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method

    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.