Giter Site home page Giter Site logo

bradlylewis / js-exercise-prototype Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bloominstituteoftechnology/web-module-challenge-prototypes

0.0 0.0 0.0 1.09 MB

An exercise for JS constructor functions.

Home Page: https://codesandbox.io/s/github/LambdaSchool/JS-Exercise-Prototype

HTML 10.46% JavaScript 89.54%

js-exercise-prototype's Introduction

Constructors, Prototypes and this

JavaScript Fundamentals

Objectives

  • explain the four principles of the 'this' keyword and demonstrate each explanation with an example of their uses
  • describe, and use prototypes, constructor functions the new keyword, and pseudo-classical inheritance to build objects

Introduction

In order to complete these tasks you will need your newly aquired knowledge of constructor functions, prototypes, and the this keyword.

Instructions

Task 1 - Set up Project

  1. Fork repo
  2. Clone your fork (not Lambda's repo by mistake!).
  3. cd into your newly cloned repository.
  4. Create a new branch by typing git checkout -b <firstName-lastName>.
  5. Install dependencies by typing npm install.
  6. Run tests by typing npm run test:watch.
  7. Work on your branch, push commits and create PR as usual.
  8. Make sure to commit often!!

instructions VSCode

Task 2 - MVP

Find the file index.js and complete tasks 1, 2 and 3 until all of your tests pass. There is an additional task 4 which requires written explanations and has no tests.

If you run into trouble while coding, fight the good fight for 20 minutes and then get on the help channel. Remember to formulate your help request in a professional manner - like you would at the job - by including error messages, screenshots, and any other pertinent information about the problem, as well as what things you have attempted already while trying to solve it.

Task 3 - Stretch

There are stretch goals found throughout index.js. Do not start work on these until you have finished MVP.

Submission format

Please see canvas for cohort specific submission instructions

js-exercise-prototype's People

Contributors

ladrillo avatar brityhemming avatar justsml avatar zoelud avatar dryanmas 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.