Change the color of the paragraph by using an indirect descendant selector.
Contextual selectors
Indirect descendant selector
Report a typo
Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Code challenge</title>
</head>
<body>
<!-- Add the heading -->
<!-- Add paragraph with bold element inside it-->
</body>
</html>
Completed 0 of 5
Add h2 title
Add paragraph
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
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.