Please take a look at my code and please advise why i’m not passing the tests to proceed to the next challenge.
here is a link to my codepen
Challenge: Build a Tribute Page
Link to the challenge:
Please take a look at my code and please advise why i’m not passing the tests to proceed to the next challenge.
here is a link to my codepen
Challenge: Build a Tribute Page
Link to the challenge:
This looks like the example Tribute Page that freeCodeCamp gives you. I would encourage you to make your own from scratch to put into practice the concepts you’ve learned in the lessons.
That said, this is passing 9 out of 10 tests as is. To pass the last test, you just need to make your image responsive. The quickest and easiest way to do that is:
img {
max-width: 100%;
height: auto;
}
But do please start over and make your own Tribute Page.
You can use only in you css.
#image{
max-width:100%;
}
Before your image does not have any width declare in css that’s why you get error message.