Code Monkey home page Code Monkey logo

jsfun's Introduction

jsFun

This repo contains practice exercises for the fundamental JavaScript concepts of prototype methods and scope. Each concept has a corresponding folder with a README that includes instructions for solving each type of problem.

Getting Started

Fork this repo (do not clone), then clone your forked copy to your machine. cd into the directory for the project and run npm install.

Check out this video for a walkthrough of the set up and first test!

Running the Tests

To run all tests for both protoype methods and scope:

npm test

To run the tests for just a single concept:

npm run testScope or npm run testPrototypes

Pulling Down Repo Changes

You have now cloned your forked version of JSFun to your machine. As instructors make changes to the repo (adding exercises, fixing tests, changing problems, etc.) you'll need to pull down those changes. In order to do so, we must link your copy of JSFun on your machine to the Turing github version by adding a new remote repository.

In your terminal, from within the root of your JSFun project directory, run:

git remote add turing https://github.com/turingschool-examples/jsFun.git

If this command was successful, you should be able to run git remote -v and see something like the following:

origin  https://github.com/yourGithubUsername/jsFun.git (fetch)
origin  https://github.com/yourGithubUsername/jsFun.git (push)
turing  https://github.com/turingschool-examples/jsFun.git (fetch)
turing  https://github.com/turingschool-examples/jsFun.git (push)

Now, whenever instructors tell you to pull down changes, there are two steps:

  1. Make sure you commit and push any changes you have currently made
  2. Run git pull turing main

Check out this video if you need help pulling down new changes!

jsfun's People

Contributors

brittanydionigi avatar thatpamiam avatar dfordeveloper avatar kaylagordon avatar kaohman avatar hannahhch avatar khalidwilliams avatar niksseif avatar sertmer avatar justind85 avatar crpearce avatar hfaerber avatar cassandragoose avatar robbiejaeger 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.