Explain it in 60 seconds
async vs defer for scripts
Frontend Engineering · Web Performance · Beginner
What is the difference between async and defer on script tags?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Both download without blocking parsing.
- async runs as soon as downloaded (any order).
- defer runs after parsing, in order.
- defer for app scripts; async for independent ones.
- Modules deferred by default.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.