Coder Social home page Coder Social logo

cheyenne2528 / kwk-l1-messy_macarena_lab_ruby-kwk-students-l1-nyc-080618 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from learn-co-students/kwk-l1-messy_macarena_lab_ruby-kwk-students-l1-nyc-080618

0.0 1.0 0.0 9 KB

License: Other

Ruby 100.00%

kwk-l1-messy_macarena_lab_ruby-kwk-students-l1-nyc-080618's Introduction

Messy Macarena

Objectives

  1. Use puts to print out the steps of the Macarena in the correct order.

Instructions

You're going to teach Ruby how to do the Macarena! Within the program macarena.rb are some of the steps of the Mararena. They are out of order and a few of the steps are missing. It's your job to fix them!

Run learn to see the correct sequence of steps one at a time.

ย 

Steps of the Macarena

The correct sequence of steps for Macarena are:

1. "Right arm out in front of you, palm facing down."
2. "Left arm out in front of you, palm facing down."
3. "Turn your right palm up."
4. "Turn your left palm up."
5. "Place your right hand on your left shoulder."
6. "Place your left hand on your right shoulder."
7. "Bring your right hand up and around to the back of your head."
8. "Bring your left hand up and around to the back your head."

If you run learn when first opening the lab, you will see:

Failures:

  1) The Macarena Step 2: prints 'Left arm out in front of you, palm facing down'
     Failure/Error: expect(steps[2]).to include(step_2), "\nStep 2 should be '#{step_2}'"
     
       Step 2 should be 'Left arm out in front of you, palm facing down', not 'Step 2: Turn your right palm up.'
     # ./spec/messy_macarena_lab_ruby_spec.rb:26:in `block (3 levels) in <top (required)>'

Finished in 0.02589 seconds (files took 0.31186 seconds to load)
3 examples, 1 failure

That's telling you that Step 2 in macarena.rb is currently broken. Can you figure out the fix based on the error message above?

kwk-l1-messy_macarena_lab_ruby-kwk-students-l1-nyc-080618's People

Contributors

aviflombaum avatar cheyenne2528 avatar danielseehausen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.