Build a Tribute Page-story 8 and 9


for this when i forked again to save my project, i am surprised that this time i am failing in story 8 and 9 but i had passed earlier, please help me to pass story 8 and 9. thanks

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36.

Link to the challenge:

  1. Your image selector is wrong, you are using .img it should be just img

  2. Remove the padding on the parent container

#img-div {
  margin: -20px;
  margin-top: 20px;
  margin-bottom: 20px;
  /* padding-right: 20px; */
  width: 100%;
  border: 10px solid;
  background: solid whitesmoke;
}

Thanks, It is fixed now, just that I need to resize the image to fit in the border as it is flowing out a bit, wonder how to fix that.