Recall & Review
beginner
What does the term mobile-first philosophy mean in web development?
It means designing and building websites starting with the smallest screen (mobile devices) first, then scaling up to larger screens like tablets and desktops.
Click to reveal answer
beginner
Why is mobile-first design important?
Because most people use mobile devices to browse the web, so starting with mobile ensures the site works well on small screens and loads fast.
Click to reveal answer
intermediate
How does Tailwind CSS support mobile-first philosophy?
Tailwind applies styles to mobile by default and uses prefixes like
sm:, md: for larger screens, making it easy to add styles as screen size grows.Click to reveal answer
intermediate
What is the difference between mobile-first and desktop-first CSS?
Mobile-first CSS starts with styles for small screens and adds bigger screen styles with media queries. Desktop-first starts with big screens and adds smaller screen styles, which can be harder to maintain.
Click to reveal answer
beginner
Give an example of a Tailwind class that applies only on medium screens and up.The class
md:text-lg changes the text size to large only on medium screens (768px) and larger.Click to reveal answer
What is the first step in mobile-first web design?
✗ Incorrect
Mobile-first means starting with small screens like phones before scaling up.
In Tailwind CSS, which prefix applies styles starting at the small screen breakpoint?
✗ Incorrect
The
sm: prefix applies styles at the small screen breakpoint (640px) and above.Why is mobile-first design better for performance?
✗ Incorrect
Mobile-first loads only needed styles for small screens first, improving speed.
Which Tailwind class applies a style only on large screens and bigger?
✗ Incorrect
The
lg: prefix applies styles starting at large screens (1024px) and up.What is a key benefit of designing mobile-first?
✗ Incorrect
Mobile-first ensures the site works well and is easy to use on small devices.
Explain the mobile-first philosophy and how Tailwind CSS helps implement it.
Think about how styles grow from small to large screens.
You got /4 concepts.
Describe why mobile-first design improves website performance and user experience.
Consider the common device people use to browse the web.
You got /4 concepts.