Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Web page using Html, Css, Javascript

@SudipKhatri036

Desktop design screenshot for the News homepage coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I find managing the web page for different screen size difficult but i think i did my best for that and it helped me to understand media query and best practice for resopnsive website and i'm going to improve more in other challenges

Community feedback

Toluwalase 160

@Tolux001

Posted

Hello. An idea on how to make your image responsive on different devices

 <picture> 
  <source 
    srcset="name of image"
    media="(min-width: screen size )"
  />
   
  <source 
    srcset="name of image"
    media="(min-width: screen size)"
  />
  
**Default if your picture media query doesn't work**
  <img 
    src="" 
    alt=""
  />

</picture>

For other responsiveness, you need to take note of important break point. Mobile S -320px. Mobile M -375px.

Mobile L - 425px --> Tablet - 768px Most important to me for mobile devices

Marked as helpful

1

@SudipKhatri036

Posted

@Tolux001 Thank you for the feedback I will try this .

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord