Skip to content

virajmparekh/first-lab-ruby-learn-cli-ile-intro-to-learn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solving your first Lab

Objectives

  1. Open a lab by clicking "Open" on this page on Learn.co
  2. Run the lab's tests with the learn CLI command
  3. Make a change to your copy of this lab
  4. Pass the tests using the learn CLI command
  5. Submit the passing lab with the learn submit CLI command

Instructions

This lab is just about practicing the lab workflow on Learn using the learn CLI.

  1. Click on the "Open" link on the lab toolbar above.

Open

After you click on this, your Learn IDE will launch.

  1. You should see all of the files associated with this lab in the Learn IDE's file browser on the left pane.

  2. In the console on the bottom pane, run the test suite by typing learn and hitting enter. You'll see something similar to:

lab-fail

You can see your test is currently failing, which is fine. We haven't done any work yet, so it makes sense.

The failure reads: Make sure you have added a new file or edited edit-me.txt

  1. To pass this lab, make any change to the content of the edit-me.txt file. You can do this by clicking on the name of the file in the file browser in the left pane; its contents will load in the text editor. Type into the text editor to change the contents of the file, then save your changes.

  2. Once your local tests are passing, you can submit this lab by running learn submit from your terminal.

learn-submit

You should see this lab pass on Learn.co. Congratulations! You've just solved your first lab.

View First Lab on Learn.co and start learning to code for free.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%