Design comparison
Solution retrospective
My solution to news homepage. I would love to hear your feedback.
Community feedback
- @AdrianoEscarabotePosted almost 2 years ago
Hi Isaac kuria, 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 ana
, 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 solve this problem do this:
<a href="/">READ MORE</a>
If we see how the layout is behaving at higher resolutions, with the help of google dev tools, we will see that it is stretching a lot, to solve this we can use a max-width with the value we want the content to stop growing and to center use a margin: 0 auto;
body { max-width: 1440px; margin: 0 auto; }
The rest is great!
I hope it helps... 👍
Marked as helpful0 - @zeynabmvsPosted almost 2 years ago
Hi
-
Title of the all news articles and "read more" button should be a link.
-
in the last-content div the design for mobile devices is broken you can fix it by giving the <div class="container"> a justify-content: flex-start
-
you can make images responsive with this class: .img-responsive { max-width: 100%; height: auto; }
Marked as helpful0 -
Please log in to post a comment
Log in with GitHubJoin 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