Computer scienceFrontendCSSBasic propertiesCommon properties

Colors in CSS

Pulsating heart

Report a typo

Make your heart red! To do this, apply the color property with the desired value to the p tag.

Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Pulsating heart</title>
</head>
<body>
<p>♡</p>
</body>
</html>
Completed 1 of 2
Heart's turned red
The code is valid
___

Create a free account to access the full topic