Git Product home page Git Product logo

your-first-lab'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's People

Contributors

annjohn avatar aturkewi avatar aviflombaum avatar callmelisaj avatar jessrudder avatar learn-co-bot avatar matbalez avatar talum avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

your-first-lab's Issues

IDE wont open

When i click the blue open button the IDE wont launch.
Im using chromium on peppermint OS.

Missing files and folders under the lab sub-directory

Hi. I have the Learn IDE installed but do not have any files or folders under lab subdirectory. I had to install atom text editor manually because I was getting when installing the Learn IDE. Where can I get the files/folders under labs to start the first labs. Thanks

The address wasn't understood

Firefox doesn't know how to open this address, because one of the following protocols (learn-ide) isn't associated with any program or is not allowed in this context.

You might need to install other software to open this address.

URL: learn-ide://learn-ide/your-first-lab-cb-gh-000

proxy problem

i am unable to set proxy in learn ide please help me

Issues with Learn IDE

This shows up everytime i try to submit learn

It doesn't look like you're in a lesson directory.
Please cd into an appropriate directory and try again.

learn-ide does not open

Clicking on the 'Open IDE button prompts the 'Open in xdg-open' alert in chrome but afterwards nothing happens and Learn-IDE doesn't start

Open IDE doesnt work

Open IDE button doesnt work on my Ubuntu 18.04 (have tried both Firefox and Chrome). It says, that there is no associated app with such a link. I have Learn IDE 3 installed on my laptop.

First Lab

Good day I followed all the instructions about installing and sign on to the IDE application. However I am unable to access the first lab through the open link. When I click on the link nothing happens. Also when I navigate through the folders in the atom application, there are no labs available. Please advise

Open

I cannot open the first lab. When I click open nothing happens.

Failed to load the tool-bar package

Failed to load the tool-bar package
Cannot match against 'undefined' or 'null'.
Hide Stack Trace
TypeError: Cannot match against 'undefined' or 'null'.
at Object. (C:\Users\ankit.atom\packages\tool-bar\lib\touch-bar-manager.js:2:26)
at Module._compile (C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\native-compile-cache.js:109:30)
at Object.value [as .js] (C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\compile-cache.js:216:21)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\native-compile-cache.js:50:27)
at Object. (C:\Users\ankit.atom\packages\tool-bar\lib\tool-bar.js:3:25)
at Module._compile (C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\native-compile-cache.js:109:30)
at Object.value [as .js] (C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\compile-cache.js:216:21)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\native-compile-cache.js:50:27)
at Package.module.exports.Package.requireMainModule (C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\package.js:796:27)
at C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\package.js:123:28
at Package.module.exports.Package.measure (C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\package.js:96:15)
at Package.module.exports.Package.load (C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\package.js:110:12)
at PackageManager.module.exports.PackageManager.loadPackage (C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\package-manager.js:468:14)
at C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\package-manager.js:412:19
at Config.module.exports.Config.transact (C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\config.js:312:16)
at PackageManager.module.exports.PackageManager.loadPackages (C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\package-manager.js:407:19)
at C:\Users\ankit\AppData\Local\learn_ide_3\app-3.0.0\resources\app.asar\src\atom-environment.js:794:28
The error was thrown from the tool-bar package.

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.