SpinTheMic
Pro

Explain it in 60 seconds

Script loading with async and defer

Frontend Engineering · Async JavaScript and the Browser · Beginner

What do the async and defer attributes on script tags do?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Normal script blocks parsing.
  • async: download in parallel, run when ready (order not guaranteed).
  • defer: download in parallel, run after parsing in order.
  • Modules deferred by default.
  • Use defer for app scripts.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics