Skip to content

Latest commit

 

History

History
62 lines (51 loc) · 1 KB

html-css.md

File metadata and controls

62 lines (51 loc) · 1 KB

HTML

  • HyperText Markup Language
  • Used for creating documents on the web
  • Document structure
  • Semantic HTML

CSS

  • Cascading Style Sheets
  • Used to style HTML pages
  • class vs id
  • Basic styling:
    h1 {
        color: blue;
        background-color: yellow;
    }
    .red-bg {
        background-color: red;
    }
  • pseudo classes/elements
  • positioning
  • flex
  • structuring (modularity)

Javascript

  • Created in 10 days!

Basics

  • Variables: let, const and var

  • The function keyword:

    function addOne(number) {
        return number + 1;
    }
  • Objects

  • Arrays

  • Arrow functions:

    const addOne = (number) => {
        return number + 1;
    };
    const addOne = (number) => number + 1;
    const addOne = number =>  number + 1;
    
  • functional programming - map, filter

Advanced

  • callbacks: setTimeout vagerah
  • promises
  • async await
  • fetchAPI
  • local/session storage
  • dom