@mattstuddert
Posted
Great work on this challenge Oluwadare! 👍
If you wanted to change the image for mobile users, you could use the picture
element instead of the img
element, which allows you to conditionally load in the right image depending on the user's screen size.
Here's the MDN resource for the picture element for more information.
Keep up the great work!
@mattstuddert
Posted
@oluwadareseyi you're welcome. Yeah, the picture
element is really useful!
@oluwadareseyi
Posted
@mattstuddert Thank you. I looked up the picture tag, awesome stuff.