reading-notes

My reading notes


Project maintained by brandomoki Hosted on GitHub Pages — Theme by mattgraham

Reading: Class-11

Video and Audio Content

  1. Explain how the ability to use video and audio on the web has evolved since the early 2000s

    • it relied on plugins like flash that are now obsolete
  2. Describe the use of the src and controls attributes in the

    • src is the path and controls attribute allows you to control the video
  3. Why is it important to have fallback content inside the

    • browsers may not support the video
  4. Write a very short story where

    • audio said hi to video after he waved

A Complete Guide To Grid

  1. How does Grid layout differ from Flex?

    • flex is one dimensional and grid is two dimensional
  2. Grid container, grid item, and grid line are a few important terms to understand when using Grid. Please describe these terms in a few sentences.

    • Grid container is the element that its applied to
    • grid items are the children of grid container
    • these are the dividing lines of the grid structure

Responsive Images

  1. Besides making a site visually appealing across different screen sizes, why should developers make images responsive?

    • you dont degrade the quality of the img
  2. Define the following attributes srcset and sizes. Write an example of how they are used.

    • its used to switch between imgs
  3. How is srcset more helpful for responsive images than CSS or JavaScript?

    • because imgs will be loaded before css and js are even read