Tell us what’s happening:
how do i wrap text in a div element. im not sure how to go about it
Your code so far
/* file: styles.css */
.canvas {
width: 500px;
height: 600px;
background-color: #4d0f00;
}
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rothko Painting</title>
<link href="./styles.css" rel="stylesheet">
</head>
<body>
<!-- User Editable Region -->
<div class="canvas"></div>
<div class="frame">
<p class="canvas"></p>
</div>
<!-- User Editable Region -->
</body>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
Challenge Information:
Learn the CSS Box Model by Building a Rothko Painting - Step 11