Skip to content

WDI-HoneyBadger/HW-W02D04-sheetcheat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published