×
×
Correct!
Add the following CSS styles inline to the <h1> element
const Header = () => {
return (
<>
<h1 style=@(19)>Hello Style!</h1>
<p>Add a little style!</p>
</>
);
}
const Header = () => {
return (
<>
<h1 style={{color: "purple"}}>Hello Style!</h1>
<p>Add a little style!</p>
</>
);
}
const Header = () => {
return (
<>
<h1 style={{color: 'purple'}}>Hello Style!</h1>
<p>Add a little style!</p>
</>
);
}
const Header = () => {
return (
<>
<h1 style={{color:"purple"}}>Hello Style!</h1>
<p>Add a little style!</p>
</>
);
}
const Header = () => {
return (
<>
<h1 style={{color:'purple'}}>Hello Style!</h1>
<p>Add a little style!</p>
</>
);
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 24 exercises.
Are you sure you want to continue?