✨ 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
    • "if" Statements
    • Close
  • Tanzila Rafeeq
    Tanzila Rafeeq
    2,936 Points

    i ran this code. i get a syntax err.

    Posted on Aug 18, 2021 by Tanzila Rafeeq
    Tanzila Rafeeq
    2,936 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    3 Answers

  • Tanzila Rafeeq
    Tanzila Rafeeq
    2,936 Points

    i keep getting a syntax error and i keep trying different things and they dont fix it they say its in line one.

    Posted on Aug 17, 2021 by Tanzila Rafeeq
    Tanzila Rafeeq
    2,936 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    2 Answers

  • Edward A. Polanco Murillo
    Edward A. Polanco Murillo
    2,872 Points

    Not understanding this particular "IF" challenge.

    Posted on Nov 11, 2019 by Edward A. Polanco Murillo
    Edward A. Polanco Murillo
    2,872 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    1 Answer

  • Edward A. Polanco Murillo
    Edward A. Polanco Murillo
    2,872 Points

    I am having difficulty with this particular challenge task regarding "if" statements

    Posted on Nov 11, 2019 by Edward A. Polanco Murillo
    Edward A. Polanco Murillo
    2,872 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    1 Answer

  • Mehmet Buyukakarsu
    Mehmet Buyukakarsu
    2,275 Points

    I am unable to pass this test and do not know which code can

    Posted on Aug 25, 2019 by Mehmet Buyukakarsu
    Mehmet Buyukakarsu
    2,275 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    1 Answer

  • patricia Re
    patricia Re
    678 Points

    Define a method named check_speed that takes a single number representing a car's speed as a parameter. If the speed is

    Posted on Jan 28, 2019 by patricia Re
    patricia Re
    678 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    1 Answer

  • miranda dunlop
    miranda dunlop
    646 Points

    conditionals - not entirely sure what the question is expecting me to code for - clearly expecting something at the end

    Posted on Jan 2, 2019 by miranda dunlop
    miranda dunlop
    646 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    1 Answer

  • Saadia Fattah
    Saadia Fattah
    1,939 Points

    I did everything the directions said, but it said this what does that mean?

    Posted on Dec 29, 2018 by Saadia Fattah
    Saadia Fattah
    1,939 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    1 Answer

  • Georgios Mavropoulos
    PLUS
    Georgios Mavropoulos
    Courses Plus Student 3,176 Points

    Can we use range in an "if" statement?

    Posted on Aug 3, 2018 by Georgios Mavropoulos
    Georgios Mavropoulos
    Courses Plus Student 3,176 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    1 Answer

  • Paul King
    PLUS
    Paul King
    Courses Plus Student 776 Points

    Hi i am stuck on a question.

    Posted on Aug 2, 2018 by Paul King
    Paul King
    Courses Plus Student 776 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    1 Answer

  • MaryAnn Eleanya
    MaryAnn Eleanya
    8,626 Points

    I am not sure why the program keeps saying that it is not able to find the method name.

    Posted on Mar 7, 2018 by MaryAnn Eleanya
    MaryAnn Eleanya
    8,626 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    1 Answer

  • victor manda
    PLUS
    victor manda
    Courses Plus Student 2,479 Points

    I dont understand whats wrong it looks perfect

    Posted on Jan 30, 2018 by victor manda
    victor manda
    Courses Plus Student 2,479 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    1 Answer

  • Christian Szadyr
    Christian Szadyr
    3,306 Points

    Need help with a Ruby Basics objective (newb)

    Posted on Jan 9, 2018 by Christian Szadyr
    Christian Szadyr
    3,306 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    1 Answer

  • alan santos
    alan santos
    4,125 Points

    Please someone can help me with this question about "if"?

    Posted on Nov 12, 2017 by alan santos
    alan santos
    4,125 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    2 Answers

  • Mika Laakso
    Mika Laakso
    4,222 Points

    What is wrong with the code?

    Posted on Nov 8, 2017 by Mika Laakso
    Mika Laakso
    4,222 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    2 Answers

  • Ediju Rodrigues
    Ediju Rodrigues
    5,214 Points

    check_speed

    Posted on Oct 14, 2017 by Ediju Rodrigues
    Ediju Rodrigues
    5,214 Points
    • Ruby
    • Ruby Basics
    • Conditionals
    • "if" Statements

    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.