Frontend track

HTML and CSS interview questions

Panel-ready Frontend Master questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

24 Moderate CSS Frontend

What is flex-grow versus flex-shrink?

Short take Full answer on next page

Simple meaning

Flex-grow is how leftover space is shared

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
26 Moderate CSS Frontend

Why might z-index seem to be ignored?

Short take Full answer on next page

Simple meaning

Z-index is compared only inside the same stacking context.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
28 Moderate HTML Frontend

How would you mark up an accessible dropdown?

Short take Full answer on next page

Simple meaning

I start with a button that has aria-expanded and aria-controls pointing at the list.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
33 Moderate CSS Frontend

What are CSS custom properties?

Short take Full answer on next page

Simple meaning

They are variables defined with a double-dash name, often on :root, and read with var.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
35 Moderate Accessibility Frontend

What is a skip to content link?

Short take Full answer on next page

Simple meaning

It is the first focusable link that jumps to main content so keyboard users skip the nav.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
36 Moderate CSS Frontend

How does grid-template-areas help readable layouts?

Short take Full answer on next page

Simple meaning

I name cells and draw the layout as ASCII in CSS, which is easier to review than long line and column numbers.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
38 High Accessibility Frontend

What is WCAG contrast and why do product companies ask it?

Short take Full answer on next page

Simple meaning

Text needs enough contrast against its background so low-vision users can read it, with stricter ratios for small text.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Prev Page 2 of 3 Next
Chat with us