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
  • Andrew Ackerman
    Andrew Ackerman
    8,347 Points

    Help with elsif function

    Posted August 3, 2017 5:17am by Andrew Ackerman
    Andrew Ackerman
    8,347 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    2 Answers

  • Seth Schwartz
    Seth Schwartz
    3,108 Points

    Code not working

    Posted July 18, 2017 3:06pm by Seth Schwartz
    Seth Schwartz
    3,108 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    1 Answer

  • andynguyen9
    andynguyen9
    1,629 Points

    elsif

    Posted June 23, 2017 7:18pm by andynguyen9
    andynguyen9
    1,629 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    3 Answers

  • Mytch Hagan
    Mytch Hagan
    1,876 Points

    I am confussled.

    Posted April 5, 2017 10:32pm by Mytch Hagan
    Mytch Hagan
    1,876 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    0 Answers

  • Mytch Hagan
    Mytch Hagan
    1,876 Points

    I'm confused on what I'm supposed to be doing.

    Posted April 5, 2017 9:37pm by Mytch Hagan
    Mytch Hagan
    1,876 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    1 Answer

  • Lacie Norris
    Lacie Norris
    3,327 Points

    Not sure what I'm doing wrong

    Posted October 19, 2016 6:37pm by Lacie Norris
    Lacie Norris
    3,327 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    6 Answers

  • Marguerite Holden
    Marguerite Holden
    6,075 Points

    How do I use the elsif statement here? What's missing?

    Posted October 11, 2016 8:41pm by Marguerite Holden
    Marguerite Holden
    6,075 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    2 Answers

  • Marguerite Holden
    Marguerite Holden
    6,075 Points

    How do I set the elsif statement? Tried many different ways.

    Posted October 11, 2016 5:43pm by Marguerite Holden
    Marguerite Holden
    6,075 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    2 Answers

  • Alistair Mackay
    Alistair Mackay
    7,812 Points

    Elsif Challenge: part 2

    Posted April 7, 2016 1:06pm by Alistair Mackay
    Alistair Mackay
    7,812 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    1 Answer

  • Kelvin Spencer
    Kelvin Spencer
    1,742 Points

    It seems there is an error, I am typing else if car_speed == speed_limit... and it is not accepting the addition.

    Posted March 7, 2016 3:27pm by Kelvin Spencer
    Kelvin Spencer
    1,742 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    3 Answers

  • Kent Drummond
    Kent Drummond
    8,309 Points

    no clue

    Posted December 28, 2015 7:04pm by Kent Drummond
    Kent Drummond
    8,309 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    2 Answers

  • kiersten holz
    kiersten holz
    2,860 Points

    elsif

    Posted December 14, 2015 9:50pm by kiersten holz
    kiersten holz
    2,860 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    1 Answer

  • Daniel Wise
    Daniel Wise
    9,119 Points

    Reviewing this question. Don't understand why it is incorrect

    Posted July 13, 2015 3:58am by Daniel Wise
    Daniel Wise
    9,119 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    2 Answers

  • Steven Martinez
    Steven Martinez
    2,146 Points

    Please Help: A bit lost on this question. I understand how to apply ELSIF to video example. This question lost me:

    Posted June 21, 2015 5:02pm by Steven Martinez
    Steven Martinez
    2,146 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    3 Answers

  • Andrew Gay
    Andrew Gay
    20,893 Points

    Is this acceptable, and what are the alternative ways to write this?

    Posted April 25, 2015 11:47pm by Andrew Gay
    Andrew Gay
    20,893 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    2 Answers

  • sethedwards
    sethedwards
    1,141 Points

    Sorry for asking for help so much, it is just because I have tried everything to learn a programming language.

    Posted March 8, 2015 3:17pm by sethedwards
    sethedwards
    1,141 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    5 Answers

  • kevinthecoder
    kevinthecoder
    10,791 Points

    Elsif statement NOT working at all (it won't turn red when typing it); can't get to the next level because of this.

    Posted February 23, 2015 12:22am by kevinthecoder
    kevinthecoder
    10,791 Points
    • Ruby
    • Ruby Operators and Control Structures
    • Ruby Control Structures
    • Elsif challenge

    1 Answer

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