Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 1

Tell us what’s happening:
Describe your issue in detail here.
I an requested to give the html element an opening tag with a lang attribute equals en, while that is done already. May I know what is wrong?

Your code so far

/* file: index.html */
<!DOCTYPE html>
<html lang="en"/>
<meta charset="UTF-8" />
<<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>A balance Sheet</title>
<link rel="stylesheet" href="styles.css" />
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/105.0.1343.42

Challenge: Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 1

Link to the challenge:


html must have closing tag, it is not self closing
also notice triple < on one of meta tags

  • it needs to have a “opening and closing tag”
  • “html” should enclose all of your "existing elements in it, except “DOCTYPE”

if you address those changes, it should be fine, happy learning :slight_smile:

Thank you. You are right about the closing html tag, I introduced it but this does not satisfy what is requested. The result of the test says that the html element needs an opening tag with a lang attribute, which is already there. This is repeated after I entered the closing html tag.

Sorry, I misunderstood. I realized there was a / at the end of the opening tag and when I deleted it the code passed.

Thank you.

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