Tribute Page help would be appreciated

https://codepen.io/leahec_lescra/pen/yLMYwEa
I need help on 1. The element should responsively resize, relative to the width of its parent element, without exceeding its original size. and I should see an element with a corresponding id=“tribute-link”, which links to an outside site that contains additional information about the subject of the tribute page. HINT: You must give your element an attribute of target and set it to “_blank” in order for your link to open in a new tab (i.e. target="_blank").

For the a element, the id name is wrong. It should be tribute-info, not tribute_info

Can I ask which line?
I do not see it

image

Line no: 15

Do you see anything wrong with my img code?
Or do you have a link to a lesson where it gives something related to it??

@lce2465we, when a test fails click the red button to see which test(s) are failing and text to help you correct the issue.

  • Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.

The first failing message says

 I should see an <a> element with a corresponding id="tribute-link", which links to an outside site that contains additional information about the subject of the tribute page. HINT: You must give your element an attribute of target and set it to "_blank" in order for your link to open in a new tab (i.e. target="_blank").
expected null to not equal null
AssertionError: expected null to not equal null

The next failing message says

The <img> element should responsively resize, relative to the width of its parent element, without exceeding its original size.
Use the "height" style property with a value of "auto" for responsive images.: expected '300px' to equal 'auto'
AssertionError: Use the "height" style property with a value of "auto" for responsive images.: expected '300px' to equal 'auto'

They tell you what the test is looking for and what you need to do to correct it.

I have figured it out
I appreciated it so much

1 Like

Good job getting the tests to pass @lce2465we.

1 Like

I am glad I could help!

1 Like

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