mtree
February 28, 2024, 5:59pm
1
Am i dumb? What am I missing, I have two meta elements both with name and content.
Your code so far
<!-- file: index.html -->
<!-- User Editable Region -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="initial-scale=1.0">
</head>
<body>
</body>
</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/116.0.0.0 Safari/537.36
Challenge Information:
Learn CSS Flexbox by Building a Photo Gallery - Step 2
Hello! Welcome to the forum.
So you need one meta
with an attribute of charset
with the value set to UTF-8
And then the other meta
you need a name
attribute with the value set to viewport
and another attribute of content with the value set to width=device-width,initial-scale=1
1 Like
Welcome to FFC forum. You need meta element. And content value you divided in two tags. That’s should be in one line
It is unlikely that you’re “dumb.” Code in the head
can be a little hard to get the hang of.
You need two meta
elements. One will tell the browser what character set your using (in this case utf-8). You should write that one like this:
<meta charset="utf-8">
Then you need to create your second meta. It will have two attributes: name
and content
.
Name
will have one value: viewport
.
Content
will have two values, width=device-width
, and initial-scale=1.0
.
These need to be separated by a comma, like this:
content="width=device-width, initial-scale=1.0"
If you do that you code should pass!
mtree
February 28, 2024, 9:19pm
6
Perfect!! Thank you so much
1 Like
system
Closed
August 29, 2024, 9:20am
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.