Need help on 12. Link it!

I don’t know what I’m doing wrong.
Here is the HTML.

    <!DOCTYPE html>
<html>
	<head>
		<title>Result</title>
	</head>
	<body>
		<div style="width:50px; height:50px; background-color:red"></div>
		<div style="width:50px; height:50px; background-color:blue"></div>
		<div style="width:50px; height:50px; background-color:green"></div>
		<div style="width:50px; height:50px; background-color:yellow"><a href="https://www.youtube.com/"></a></div>
	</body>
</html>

the div should be inside the link (<a></a>), you have the link inside the div

1 Like

OK thanks! I will try it out.

Just tried it out and it worked! Thanks!