Learn Responsive Web Design by Building a Piano - Step 6

Tell us what’s happening:

Does anyone know where I went wrong? I’m suck in this step…

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="black--key" class="key"></div>
        <div class="black--key" class="key"></div>
        <div class="key"></div>
        <div class="black--key" class="key"></div>
        <div class="black--key" class="key"></div>
        <div class="black--key" class="key"></div>
      </div>
    </div>

<!-- User Editable Region -->

  </body>
</html>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2.1 Safari/605.1.15

Challenge Information:

Learn Responsive Web Design by Building a Piano - Step 6

2 Likes

When you have to add more than one class value to the same HTML element, follow the rule:

<element class="class1 class2 class3" ... 
or 
<element class="value1 value2 value3" ...

think of the class’ values one or another way.

1 Like

That works! Thank you @DobarBREND

1 Like