@cxalemSubmitted over 2 years ago
This is my challenge, if you have any feedback would be amazing!
This is my challenge, if you have any feedback would be amazing!
@cxalem, my hint is about images. HTML5 has a nice container called <picture>
. There you can add the images you want and set the breakpoint you wanna render it, without use a if/else with JS or using other alternatives with CSS.
<picture> <source srcset="mdn-logo-wide.png" media="(min-width: 600px)"> <img src="mdn-logo-narrow.png" alt="MDN"> </picture>