Tell us what’s happening:
I am working on the HTML structure for a page I have added the DOCTYPE, html, head, body and title elements and set language to English yet I get the error message: “Your code should have a title element.” What am I doing wrong and how should I use the title element correctly?
Your code so far
<!-- file: index.html -->
<!-- User Editable Region -->
<!-- User Editable Region -->
/* file: styles.css */
<!DOCTYPE html>
<html lang="en">
<head>
<title>Piano</title>
</head>
<body>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Challenge Information:
Learn Responsive Web Design by Building a Piano - Step 1