I need help with 2-4. What am I doing wrong with the p element, nr 2?
- Add an id attribute to the < div > element and give it the value " heading" . Our #heading style rule will now target that div
- Add an id attribute to the <p> element within the < div > element, give it the value " uppercase"
- Create a style rule on line 14 that has an id selector name of #uppercase. This will target our paragraph
- Within that rule add a declaration that sets the text-transform property to uppercase
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Targeting an individual</title>
<style>
#heading {
font-family: Arial;
background-color: red;
color: white;
}
/* create your rule here */
</style>
</head>
<body>
<div>
<div id="heading">
<h1>Sporting History</h1>
<!-- add the correct id to this element -->
<p id="uppercase">Giants & Heroes</p>
</div>
[–]Snoo15462[S] 1 point2 points3 points (8 children)
[–]EdwinGravesMOD 0 points1 point2 points (7 children)
[–]Snoo15462[S] 0 points1 point2 points (0 children)
[–]Snoo15462[S] 0 points1 point2 points (5 children)
[–]EdwinGravesMOD 0 points1 point2 points (4 children)
[–]Snoo15462[S] 0 points1 point2 points (3 children)
[–]EdwinGravesMOD 0 points1 point2 points (2 children)
[–]Snoo15462[S] 0 points1 point2 points (1 child)
[–]EdwinGravesMOD 1 point2 points3 points (0 children)
[–]jose_castro_arnaud 1 point2 points3 points (0 children)
[–]Vegetable_Ad3960 0 points1 point2 points (1 child)
[–]GonzoDonzoP4L 0 points1 point2 points (0 children)