Learn Responsive Web Design by Building a Piano - Step 5

Tell us what’s happening:

well i check the code ten times and it´s fine but i don´t know where the error is. somebody can help me?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Piano</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  </head>

<!-- User Editable Region -->

  <body>
      <div id="piano">
      <div class="keys"></div>
        <div class="key"></div>
        <div class="key"></div>
        <div class="key"></div>
        <div class="key"></div>
        <div class="key"></div>
        <div class="key"></div>
        <div class="key"></div>
    </div>

<!-- User Editable Region -->

  </body>
</html>
/* 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/133.0.0.0 Safari/537.36 Edg/133.0.0.0

Challenge Information:

Learn Responsive Web Design by Building a Piano - Step 5

Your seven new div elements should be within your .keys element.

It wants them (nested) within “keys”. In yours, the new divs are siblings.

1 Like

The word “within” in the instructions seems to be what’s giving you trouble.

1 Like