Hi everyone. How do you pass the image responsiveness test? This is the link to my code pen: https://codepen.io/kirubiel/pen/qKwOvV
āAssertionError: Try using the āmax-widthā style property : expected ānoneā to not equal ānoneāā
The unit test expects you to use max-width css property on your image tag.
I did tho
Ohh is it on the tag? Hold on
No doesnāt work
Hi,
On your img tag add a class called img-responsive.
You can read more about it here: https://www.w3schools.com/bootstrap/bootstrap_ref_css_images.asp
It should help.
As I see your image is responsive nowā¦ and always use percentage for images in pure css if you want responsive images
Thank you so much @KoniKodes. My tribute page passes all tests now. But I canāt understand why my code doesnāt. I usually avoid frameworks so I can widen my understanding of the language.
Itās been responsive from the beginning. I donāt often use fixed values for much of anything. Except text.
Iām glad itās working for you now.
Bootstrap is actually a great tool once you have CSS understood. It brings together the most frequently used rules so that we can focus on everything else.
Happy Coding.
Yeah Iāll probably need it when I do full-stack work. Thanks for the help again.
Happy coding.