I need help ! I don’t know what I’m doing wrong…
Here is my task:
Below the piano
div
, add a new div
element with an id
attribute of guitar. Nest the following elements within the div
:
<h3>Guitar Lessons</h3>
<img src="images/child-guitar.jpg" alt="child with a smile holding a guitar" height="260" width="400">
<p>We teach acoustic guitar, electric guitar, bass guitar, and ukulele. We have guitar lessons for beginners, intermediate players, and advanced players. Improve your skills with weekly lessons. Learn new tips and techniques from experienced instructors. We also have a rock band program that you can join!</p>
Here is my code:
<div id="guitar">
<h3>Guitar Lessons</h3>
<img src="images/child-guitar.jpg" alt="child with a smile holding a guitar" height="260" width= "400">
<p>We teach acoustic guitar, electric guitar, bass guitar, and ukulele. We have guitar lessons for beginners, intermediate players, and advanced players. Improve your skills with weekly lessons. Learn new tips and techniques from experienced instructors. We also have a rock band program that you can join!</p>
</div>
Here is error message:
Task: Add a new div
element with the id
guitar
Test Feedback:
Status: PASSED! Check: 1 Test: The div with the id attribute value of ‘guitar’ within the main element is present in lessons.html. Reason: None
Status: PASSED! Check: 2 Test: The div element with an id attribute of ‘guitar’ contains an h3 element with the text ‘Guitar Lessons’ in lessons.html. Reason: None
Status: FAILED! Check: 3 Test: The div element with an id attribute of ‘guitar’ contains an img element with the specified attributes in lessons.html. Reason: Assertion failed: The height attribute of the img element is incorrect. Error : AssertionError - The height attribute of the img element is incorrect.
Status: PASSED! Check: 4 Test: The div element with an id attribute of ‘guitar’ contains a p element with the specified text in lessons.html. Reason: None