hard
+30 XP
FRONTEND
Responsive Typography
Use clamp() to make headings scale between 1rem and 3rem based on viewport.
You're exploring as a guest. Create a free account to save progress and submit solutions.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="/styles.css" /> </head> <body> <h1>Responsive Heading</h1> <p>Some body text.</p> <script src="/index.js"></script> </body> </html>