I have now managed to make it to 9/10 passing. I am stuck on the image and have no idea what it’s issue is other than maybe it’s missing things.
Thank you! I took a look and it has helped up until my latest part.
I’m glad
Keep Coding
I am beyond stuck. I keep getting this error and cannot move past it to save my life no matter what I do. I am just at a complete loss what I am doing wrong.
#Layout
- The
element should responsively resize, relative to the width of its parent element, without exceeding its original size.
Try using the “max-width” style property : expected ‘none’ to not equal ‘none’
AssertionError: Try using the “max-width” style property : expected ‘none’ to not equal ‘none’
at Proxy.c (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:549:1889)
at Proxy.l (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:431:130)
at Function.n.notStrictEqual (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:574:736)
at a. (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:126039)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:36606
at i.p.run (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:36901)
at N.runTest (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:42814)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:43780
at o (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:42090)
at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:42160
Remember this one on how to make an image responsive?
I finally got it to pass 10/10.
https://codepen.io/freeCodeCamp/pen/MJjpwO
It was weird in how I had to enter it though.
#img-div img {
width: 100%;
max-width: 1200px;
display: block;
}
And I had put it in that way but it kept failing it several times.
Glad you finally solved it! Congrats! And on to the next challenge
Thank you to everyone for putting up with my frustrations. I really appreciate the help. I didn’t realize just how… intense it can be starting out.
Hey sorry I am barely getting back to you. I am glad you got some help from the forum. Let me know if you need more help. I usually have some time around noon M-F.
-Christopher