Learn Basic CSS by Building a Cafe Menu - Step 1

Instructions for this step are to “Add the <!DOCTYPE html> tag, and an html element with a lang attribute of en .” I’m not sure where the issue is.


<!-- User Editable Region -->

<!DOCTYPE html><html> lang="en"</html>

<!-- User Editable Region -->


2 Likes

Hello!

The lang is an attribute with its value of “en” and should go inside the opening html element tag.
I suggest placing the html below the DOCTYPE
You are doing great!

3 Likes

As @anon42932716 said above :point_up: place the lang attribute inside the opening HTML tag and it’ll work like a charm :ok_hand:

mod edit: removed

Keep calm, and code on :sunglasses:

1 Like

@qigonggabi

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

3 Likes

I’m not sure I’m grasping the concept. Something like this?

<!DOCTYPE html lang="en"</html>

Closer you have this line correct

<doctype html>

on a new line you can add this but you will just need to add the < > for the opening html tag. You have the closing html tag correct

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.