GithubHelp home page GithubHelp logo

hw-w02d04-sheetcheat's Introduction

HW-W02D04 - make a cheatsheet for yourself!

Your review sheet can be in any digital format you want, a word document, a google doc, a markdown file… whatever you want! Submissions will be done via email.

πŸ“’ πŸ“’ NOTE: This is not all what we cover in the class so feel free to customize your own sheet and add more content

Your cheatsheet should include the following topics:

  • Variables:

    • How to declare a variable: (code)
      // write the syntax
    • How to console.log the value of a variable: (code)
      // write the syntax
  • conditionals:

    • Operators:
      • How to use the "==" operator: write a definition
      • How to use the "===" operator: write a definition
      • How to use the ">" operator: write a definition
    • How to write an if Statements
        // write the syntax
  • functions:

    • How you declare a function:
        // write the syntax
    • This is the other way to declare a function:
        // write the syntax
    • This is a function that adds 4 to any number:
      // write the syntax
    • This is a function that capitalizes any word:
      // write the syntax
    • We use functions because: write a definition
  • datatypes:

    • Strings
      • A string is: write a definition
      • You can capitalize a string by:
        // write the syntax
      • Concatentation is: write a definition
      • An example of concatenation:
        // write the syntax
    • Numbers:
      • The % operator is: write a definition
      • Here is an example of the % operator in use:
         // write the syntax
    • Arrays:
      • An index is: (definition)
      • You can access an element in an array like this: (code)
      • Map:
        • .map is an array method that: write a definition
        • An example of map is:
             // write the syntax
      • Filter:
        • .filter is an array method that: write a definition
        • An example of filter is:
             // write the syntax
      • forEach:
        • .forEach is an array method that: write a definition
        • An example of forEach is:
            // write the syntax
    • objects
      • How to access a property
           // write the syntax
  • loops

    • how to make for loop
        // write the syntax
  • Querying the DOM

     // write the syntax
  • Creating a new element in the DOM

     // write the syntax
  • Appending a new element to the DOM

     // write the syntax
  • Updating the style properties

     // write the syntax

hw-w02d04-sheetcheat's People

Contributors

ghadeer-x avatar

Watchers

James Cloos 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.