Tell us what’s happening:
I’m getting the error "Sorry, your code does not pass. Keep trying.
One meta element should have a name set to viewport, and content set to width=device-width, initial-scale=1.0."
Your code so far
<!-- file: index.html -->
<!-- User Editable Region -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset= "UTF-8"
name= "viewport"
content= "width=device-width, initial-scale=1.0"
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>Financials</title>
<link rel="stylesheet" href="styles.css"/>
<body></body>
</head>
</html>
<!-- User Editable Region -->
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Challenge Information:
Learn More About CSS Pseudo Selectors by Building A Balance Sheet - Step 1
ellie.codes.us:
<meta charset= "UTF-8"
this line should have a > at the end of it, so pls add that to complete it
This part here is a separate meta element, so make another one to hold it
I’ve corrected as I understand your instructions, and it’s telling me I should still have incorrect code, and I should have 2 meta elements
Please copy the code in your reply so we can comment further
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name = "viewport"
content="width=device-width,initial-scale=1.0">
<title>Financials</title>
<link rel="stylesheet" href="styles.css"
</head>
<body>
</body>
</html>
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
1 Like
thanks! I’m pretty new to this
Fixed it! Thank you for your help
2 Likes
system
Closed
April 11, 2025, 5:39am
10
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.