Quick check · free · no sign-up

Frontend Developer: 5 questions to test yourself

Pick one answer for each question, then see your score and why each answer is right. It takes about two minutes.

With box-sizing: content-box (the default), what does the width property set?
Which keyword declares a block-scoped variable in JavaScript?
Which HTML element is meant for a block of main navigation links?
What does Array.prototype.map return?
What is the alt attribute on an image for?

Free · No sign-up · Nothing is saved · Updated 16 Nov 2026