I can't seem to pass the tribute page test. I'm new to coding. I need help

It would me more helpful if you posted a link to your pen

Hi mbonuvictor27!
I agree with ilenia

i have sent the link https://codepen.io/Adroitguy/pen/qBpGZLJ

when you run the tests, press on the number of passing tests to see which tests are not passing and an useful error message

other issues:
put your html in the HTML box, not in the CSS box - the CSS box should include only CSS

i passed 8/10 even with the helpful info, i can’t seem to pass the remaining 2

what do the error messages say?

Hi @mbonuvictor27 !

Welcome to the forum!

Click the red test button.

Read the full error message because it will tell you how to fix it.

Do you understand what we mean by this?
All of your html needs to go in the correct section.

i don’t understand what i’m told to do when i click the red button. i don’t understand the codes

i think i have put all the html in the appropriate block now.

Your HTML section currently does not have any HTML in it.
This is what I am looking at on my end.

You need to place your html inside that section like this

make sense?

When I click on the red button, and scroll down, I see this error message.

The <img> element should responsively resize, relative to the width of its parent element, without exceeding its original size.
Use the ā€œdisplayā€ style property with a value of ā€œblockā€ for responsive images.: expected ā€˜inline’ to equal ā€˜block’

So that second sentence of the error message says to use the display property with a value of block.

make sense?

Ok. i have done that but it’s remaining one task https://codepen.io/Adroitguy/pen/qBpGZLJ

To pass the test, you need to get rid of this extra html stuff in the css section.

Delete all of this stuff since it is not correct css.

<!DOCTYPE html>
<html>
<style>
#main
#title
#img-div
#image
#img-caption
#tribute-info
#tribute-link
</style>

</html>

Once you pass the test, I would suggest that you post your finished project in the #project-feedback section because I noticed a few small errors that you want to clean up before starting the next project.

Posting in the #project-feedback section and getting feedback from the community will help you grow as a developer and ensure that you don’t develop bad habits.

Hope that helps! :slight_smile:

1 Like

thank you very much ma. I still can’t figure out this last one :point_down: :point_right: https://codepen.io/Adroitguy/pen/qBpGZLJ

You still have html in your css.

You need to clean that up to pass the test.

Reread through my last post about what needs to be deleted from the css section.

make sense?

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