Giter Site home page Giter Site logo

js-minicamp-homework-3's Introduction

Homework #3

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.
  • Objects: A phone is an object in real life, and it has properties like color, size, and type. An object is also the same thing. This code gives a simple value to an object, and with in curly braces you can add more details like what color is the object?

  • Properties: Furthering my example from Objects, a property is the color of your phone. A property has a key and a value. The key in this example would be color, and the the value would be what ever color your phone is.

  • Methods: Objects can also have methods. With the phone example a method for the phone could be turning on. A function could be written within the object that would turn the phone on. A method that we use frequently is ‘console.log()’. There is an object called console, and a method attached to it called log. Calling this method allows us to print what ever is in the parentheses.

  • for in loop: Allows the developer to iterate over properties in an object that have values. It’s similar to the ‘for’ loop practiced in lesson two, but specific for objects.

  • Dot notation vs bracket notation:

  1. Fork and clone this repo. When you need to commit use the following commands.

    • git status
    • git add --all
    • git status
    • git commit -m "your commit message"
    • git push origin master
  2. Install dependencies using npm install. Run tests using npm test.

  3. Make the tests pass!

Congratulations on finishing Homework #3!

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

js-minicamp-homework-3's People

Contributors

emmadrueke 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.