Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 11 and lesson 4

After writing the correct code not allowing to move forward
<!DOCTYPE html>
<html>
<head>
<title>Changing font-size using Media query</title>
<style>
body{
background-color: pink;
font-size: 20px;
}
@media screen and (min-width: 550px) {
body {
font-size: 25px;
}
}
</style>
</head>
<body>
<h1>Studytonight</h1>
</body>
</html>
by

1 Answer

iamabhishek
Don't use the screen keyword.
Try this code:

@media (min-width: 550px) {
body {
font-size:25px;
}
}

Login / Signup to Answer the Question.