Giter VIP home page Giter VIP logo

your-first-lab-cb-gh-000's Introduction

Solving Your First Lab

Now that you've got the Learn IDE up and running, you're going to use it to solve your very first lab on Learn.

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

In this lesson you will practice the workflow that allows you to solve labs on Learn.

  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.

lab-fail

  1. 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 edited the file edit-me.txt

  1. To pass this lab, make any change to the edit-me.txt file (this file starts of empty). You can do this by clicking on the name of the file in the file browser in the left pane; the empty file 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 (if you don't, try hitting refresh, if you still don't, "Ask a Question" and we'll help). Congratulations! You've just solved your first lab.

Video Demo

<iframe width="100%" height="720" src="https://www.youtube.com/embed/MZ2vUG6p1PY?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>

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

your-first-lab-cb-gh-000's People

Contributors

annjohn avatar aturkewi avatar aviflombaum avatar callmelisaj avatar jessrudder avatar learn-co-bot avatar matbalez avatar talum 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.