Git Product home page Git Product logo

js-minicamp-homework-1's Introduction

Homework #1

Instructions


  1. Feynman Writing Prompts - Write out explanations of the following concepts like you are explaining it to a 12 year old. Doing this will help you quickly discover any holes in your understanding. Ask your questions on Slack.

    • Variables
    • Strings
    • Functions (arguments, return)
    • if statements
    • Boolean values (true, false)
  2. Install Node and NPM. NPM comes packaged with Node. https://nodejs.org/en/download/

  3. Install SublimeText3. If you have another editor that you prefer then you can use that. https://www.sublimetext.com/3

  4. Download this project folder from GitHub.

  5. Navigate into the downloaded folder using Terminal(Mac) or Command Prompt(Windows). ls(Mac), dir(Windows) and cd <directory_name> are the commands you need to navigate around.

  6. Once you are in the folder type the command npm install. This will fetch all of the needed requirements for the project.

  7. Run npm test to run the automated tests. At first all of the tests will be broken. You will fill out the functions in exercises.js to make the tests pass.

Congratulations on finishing Homework #1!

For more information about Lambda School's six month CS program visit: https://lambdaschool.com

js-minicamp-homework-1's People

Contributors

austenallred avatar joeryan avatar sleepypikachu avatar sunjieming avatar

Stargazers

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

Watchers

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

js-minicamp-homework-1's Issues

Submission

Hello, please how am I supposed to submit my solution to homework 1? Create a pull request or something? Kindly direct as to how. Thank you

Wrong calculation of circle area

Hello!
I tried to resolve all these tests and found that you have a wrong calculation of circle area.
Should be: S = ∏ * r * r
But you are using: S = 3.125 * r * r.
Please correct it

typo in test.js re: cube(num) line 114

Just noticed a typo in the test description for cube(num) while running npm test.

At line 114

it('should return the argument after squaring it', function() {

should be

it('should return the argument after cubing it', function() {

error in test module

in test.js roundUp() function call has the property of roundNumber..
the answer expected from roundUp function is that expected from roundNumber..
error log says

 roundUp(num)                                                                                                                                                              
    × should return the argument after squaring it (4ms) 

test.js 139:5
please fix it

Prism Volume Typo

tests/test.js line 190:

it('should return the correct area', function() {

Should be:

it('should return the correct volume', function() {

exercises.js line 135:

//return the area of the 3D rectangular prism given the length, width, and height

Should be:

//return the volume of the 3D rectangular prism given the length, width, and height

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.