Learn Responsive Web Design by Building a Piano - Step 6

Tell us what’s happening:
It keeps on telling me that I haven’t specified the class black–key in my second element when I have added it. It might be a syntax probleem

  ** <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>**
/* 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>
  <div id="piano">
    <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>
</body>
</html>
/* file: styles.css */

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Learn Responsive Web Design by Building a Piano - Step 6

Link to the challenge:

Hello. In order to assign more than one class to an element, you need to separate them only by spaces, and all inside the same pair of quotation marks. It is indeed a syntax problem. An example of the correct syntax:

<section class="class1 class2">
</section>
1 Like

Thanks I appreciate it

No problem! Glad to help.

please, i need on my post that i created no one has replied since

title is Stuck On Build a Personal Portfolio Webpage

so that’s wonderful and it works, but why does this

content="width=device-width, initial-scale=1.0"

still uses a comma to separate values?