Skip to content

Instantly share code, notes, and snippets.

View nicolas-cherel's full-sized avatar
👨‍🔬
`docker-compost`

Nicolas C. nicolas-cherel

👨‍🔬
`docker-compost`
View GitHub Profile

HTML

  • What are data- attributes good for?
  • Describe the difference between <script>, <script async> and <script defer> on page loading.
  • Why is it generally a good idea to position CSS <link>s between <head></head> and JS <script>s just before </body>? Do you know any exceptions?
  • Why you would use a srcset attribute in an image tag? Explain the process the browser uses when evaluating the content of this attribute.
  • What is the difference between canvas and svg?
  • What is progressive rendering?

CSS