Geeks2Smart
Courses, in learning order All courses
<html>
{ }
@media
aria-
<?php
wp_
Topics
New to coding?
HTML Complete Course
Build semantic, accessible web pages from your first file to native dialogs, safe embeds and fast loading.
Eight questions covering the whole Responsive Web Design course.
8 questions. Pass mark 70%.
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="viewport" content="width=980">
<meta name="viewport" content="width=device-width, maximum-scale=1">
(max-width: 480px)
(width >= 20rem)
Select all that apply.
@media (width >= 40rem)
@media (40rem <= width < 64rem)
@media (width < 50rem)
@media (min-width: 64rem)
<img src="photo-800.jpg" srcset="photo-400.jpg 400w, photo-800.jpg 800w, photo-1600.jpg 1600w" alt="A mountain lake" width="1600" height="1067">
100vw
clamp(1rem, 0.9rem + 0.5vw, 1.25rem)
font-size: 4vw
clamp(14px, 3vw, 22px)
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.card-wrapper { container-type: inline-size; }
@container (inline-size >= 30rem) { .card { ... } }
.card { container-type: inline-size; }
@media (width >= 30rem) { .card { ... } }
/* Option A */ .hero { height: 100vh; } /* Option B */ .hero { min-height: 100vh; min-height: 100svh; } /* Option C */ .hero { height: 100dvh; }
Review these before trying again:
Turn on JavaScript to take this quiz. Your answers are checked on our server.