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

Level 11 lesson 2 submit not working please help

unable to move to next lesson because of there is an error remove 2nd /* from code
by

2 Answers

kshitijrana14
Try this one:

<!DOCTYPE html>
<html>
<head>
<title>Adding breakpoint according to device</title>
<style>
@media (max-width: 600px) {
body {background: red;}
}


@media (min-width: 600px) {
body {background: #ffc8dd;}
}


@media (min-width: 768px) {
body {background: #ffafcc;}
}


@media (min-width: 992px) {
body {background: blue;}
}


@media (min-width: 1200px) {
body {background: #a2d2ff;}
}

</style>
</head>
<body>
<p>Resize the browser window to see how the background color of this paragraph change on different screen sizes.</p>
</body>
</html>
iamabhishek
Please try the above code, it should work.

Login / Signup to Answer the Question.