The website got hell amount of bugs where after i do the code CORRECTLY it keep saying there is an issue
Piano
<!-- 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="black--key"></div>
<div class="black--key"></div>
<div class="key"></div>
<div class="black--key"></div>
<div class="black--key"></div>
<div class="black--key"></div>
<div class="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/115.0.0.0 Safari/537.36 Edg/115.0.1901.203
Challenge: Learn Responsive Web Design by Building a Piano - Step 6
Link to the challenge:
Hello!
The black-key is to be added to your second, third, fifth, sixth, and seventh .key
elements.
I see it on the first, second, fourth, fifth and sixth.
This would be one reason it would not pass.
Happy coding!
lemme try tysm ooooooooooo
1 Like
The keys are still in the wrong place.
I think there is a bit of confusion.
It appears that you are mistaking the “keys” as the first one.
<div id="piano">
<div class="keys">
<div class="key"></div>
<div class="black--key"></div>
<div class="black--key"></div>
<div class="key"></div>
<div class="black--key"></div>
<div class="black--key"></div>
<div class="black--key"></div>
</div>
</div>
```?
What is the underneath it?
speedrunong:
````?`
Good for you finding and correcting the problem.
Happy coding!
</body>
</html>
just filling for the 20 characters cuz the forum system is so stupid
it does not work… (Just filling again ong stop this stupid rule of 20 characters ;-
it does not work. the website is buggy asf
It looks like they want the class for the black keys formatted in a particular manner. This is what worked for me (the two values separated by a space only (" "):
class=“key black–key”
When I searched how to add multiple classes to an html object, a result said to use a comma and space (", ") to separate the values.
i will try it [ just filling typing random words ]
can u tell me how did u type it?
system
Closed
March 4, 2024, 5:18pm
16
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.