Tell us what’s happening:
I added the element
in the body element
but the check is still not ok
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rothko Painting</title>
</head>
<body>
<!-- User Editable Region -->
<div class="canva"></div>
</body>
<!-- User Editable Region -->
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Challenge Information:
Learn the CSS Box Model by Building a Rothko Painting - Step 6
Welcome to the forum @annadema
Try adding the letter s
to the class value.
The div
element should have a class
with the value canvas
.
Happy coding
still not working
I also added the closing tag for the body element that was missing
The code you posted had a body
closing tag.
So the forum can assist please post your full code.
Use the following method to post code to the forum:
On a separate line type three back ticks.
On a separate line paste your code.
On the last line type three back ticks. Here is a single back tick `
Happy coding
Try selecting all the code in the editor, then copy it, then paste that into your post.
done, but the message above does not show my code correctly
It looks like you had spaces between the backticks.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rothko Painting</title>
</head>
<body>
<div class="canvas"></div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rothko Painting</title>
</head>
<body>
<div class="canvas"></div>
</body>
</html>
The check still says:
Sorry, your code does not pass. Keep trying.
Your code should have a div
element.
Teller
July 7, 2024, 7:56am
12
Your code passes.
Reset the step and try again. If that doesn’t work, refresh the page, disable dark mode, disable ad blockers. Or, use another browser.
If the above steps do not work, you may need to restart the computer.
Happy coding
1 Like
I posted the code correctly now.
I used ALT+96 to avoid problems
and it worked
Thanks
Ok, thanks
I changed browser and now it works!
2 Likes
system
Closed
January 5, 2025, 8:05pm
15
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.