✨ Earn college credits in Cybersecurity, JS, HTML, CSS and 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

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

  • 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
    • Showing results for:
    • Ruby
    • Ruby Basics
    • Conditionals
    • A Better "check_speed" Method
    • Close
  • K .
    K .
    2,357 Points

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

    Posted on Aug 6, 2019 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 on Jul 14, 2019 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 on Jul 13, 2019 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 on Apr 15, 2019 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 on Feb 20, 2019 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 on Jan 12, 2019 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 on Dec 6, 2018 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 on May 25, 2018 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 on May 19, 2018 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 on May 10, 2018 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 on Jan 25, 2018 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 on Dec 15, 2017 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 on Nov 13, 2017 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 on Nov 8, 2017 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 on Oct 20, 2017 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 on Oct 17, 2017 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.