Performance Basics — Quiz

Answer all 5 questions, then submit. You need 60% to pass. Log in to save progress.

Question 1
What does a plain <script> tag do to page rendering?
A Nothing — it loads in the background
B It blocks the page from building while it downloads and runs
C It speeds the page up
D It only runs on mobile
Question 2
Which attribute is the safe default for most scripts?
A async
B defer
C blocking
D preload
Question 3
What does setting an image's width and height prevent?
A Slow downloads
B The page jumping around as images load
C Broken images
D Caching
Question 4
What does loading="lazy" do?
A Compresses the image
B Loads off-screen images only when the user scrolls near them
C Disables the image on slow networks
D Doubles the image size
Question 5
Why does lean, fast HTML matter most for your audience?
A It doesn't — everyone has fast internet
B Many users are on budget phones and slow networks where heavy pages fail
C It changes the page's colour
D It improves desktop only