In this task, change the size of the h1 element to 16px and the color of the p element to red when the min-width of the screen is 767px.
Media Queries in RWD
Media Queries scaling down
Report a typo
Write HTML and CSS code
<!DOCTYPE html>
<html>
<head>
<title>Responsive Font and Color</title>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<div class="content">
<h1>Welcome!</h1>
<p>This is some example text.</p>
</div>
</body>
</html>
Completed 1 of 3
Change the size of h1 element to 16px
Change the color of p element to red
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.