@Victor-Nyagudi
Posted
Hi, Pedro.
You only need to have one HTML file, and that's index.html
.
If you want to style the HTML differently for different screen sizes, you can use media queries.
These let you add breakpoints e.g. 992px and up, so you can add styling only for a certain screen size and smaller/bigger.
If you want to use different images on different screen sizes e.g. mobile and desktop, you can use the <picture>
element.
It lets you determine at what breakpoint you want to change the current image to a different one.
Read more about the picture element here.
Hope this helps.
Good luck with your other solutions.
Marked as helpful
@Alex-Beltran97
Posted
@Victor-Nyagudi Thank's for your feedback. I'll try to out this in practice for the future