Learn Responsive Web Design by Building a Piano - Step 6

Tell us what’s happening:

I am trying to submit this code for this project, yet it keeps telling me I have no class assigned to my tag, while I (believe) it is clear that I do. Is anyone else experiencing this? If so, how do I course correct this?

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15

Challenge Information:

Learn Responsive Web Design by Building a Piano - Step 6

This isn’t how you add multiple values to the same attribute

Reset your challenge and add only black–key within the existing class after key a space between.

Example

class="one two"

@raksaw

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