Learn Responsive Web Design by Building a Piano - Step 6

so i did the black–key classes but says i need to add them what’s wrong with my code

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>
  <body>

<!-- User Editable Region -->

    <div id="piano">
      <div class="keys">
        <div class="key"></div>
        <div class="key", class="black--key"></div>
        <div class="key", class="black--key"></div>
        <div class="key"></div>
        <div class="key", class="black--key"></div>
        <div class="key", class="black--key"></div>
        <div class="key", class="black--key"></div>
      </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/120.0.0.0 Safari/537.36

Challenge Information:

Learn Responsive Web Design by Building a Piano - Step 6

i understand the the " , " is probably not meant to be there but i added it cus thats what i thought was wrong and im confused as to what its asking for

iv also tried this

  <div class="keys">
       <div class="key"></div>
       <div class="key, black--key"></div>
       <div class="key, black--key"></div>
       <div class="key"></div>
       <div class="key, black--key"></div>
       <div class="key, black--key"></div>
       <div class="key, black--key"></div>
     </div>
   </div>

Delete the commas between classes:

... class="class1 class2 class3"...

lol thx man i feel rlly dumb rn :rofl: :sweat_smile:

1 Like

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