@Galindezpro
Posted
De la manera que escribistes las imagenes:
<img id="desktop-img" src="/images/image-product-desktop.jpg"
alt="chanel
gabrielle
perfume">
<img id="mobile-img" src="/images/image-product-mobile.jpg"
alt="chanel gabrielle
perfume">
</div>```
debes eliminar "/" al principio y el css puedes usar "DISPLAY: NONE" en una de las imagines para ocultarla, cuando uses el media query y debas cambiar de imagen le aplicas el "DISPLAY: NONE" para ocultar la imagen que se estaba mostrando y "DISPLAY: INLINE-BLOCK" para mostrar la imagen oculta
Marked as helpful