Learn Responsive Web Design by Building a Piano - Step 1

Tell us what’s happening:
It Keeps telling me: Your html element should have an opening tag with a lang attribute of en… Except it does have that. Any help???

Your code so far

<!-- file: index.html -->

<!-- User Editable Region -->

<!DOCTYPE html> 
<html lang="en"/>
<head></head>
<body></body>
<title>Piano</title>

<!-- 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/109.0.0.0 Safari/537.36

Challenge: Learn Responsive Web Design by Building a Piano - Step 1

Link to the challenge:

HTML tags are not self-closing. You need a closing tag, and you need to ditch the / here.

1 Like

Should the html closing tag be on the same line as the opening tag or after the title element? Just curious. Thank you.

You should close it after you finish all of the html

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