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

News Homepage using Flexbox

@KishonShrill

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 am still unsure about the phone version... I also find it difficult about resizing the container so I don't have to use overflow: hidden all the time... I heard of a solution about box-sizing but I guess Ill use that on my next project another time...

I'll try to understand grid too while I'm at it... and improve the already posted projects by applying the new things along the way...

Community feedback

Adriano 34,090

@AdrianoEscarabote

Posted

Hi Chriscent Pingol, how are you? I really liked the result of your project, but I have some tips that I think you will enjoy:

I noticed that you used a button in which case the best option would be an a, because in my head when a person clicks on a button written Read more, he is not confirming a form, or something like, it will be redirected to another page, to read more about!

To resolve do this:

<a href="/">READ MORE</a>

Consider using rem for font size .If your web content font sizes are set in absolute units, such as pixels, the user will not be able to re-size the text or control the font size based on their needs. Relative units “stretch” according to the screen size and/or user’s preferred font size, and work on a large range of devices.

if you want to continue coding with px, you can download a very useful extension in vscode, it converts px to rem! link -> px to rem

The rest is great!

I hope it helps... 👍

Marked as helpful

1

@KishonShrill

Posted

@AdrianoEscarabote Thank you so much... I will apply this as a new lesson learned... Your feedback totally helped with the page being responsive 😄👍

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