Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 12 months ago

News homepage

bem, fetch
Andrey•5,430
@dar-ju
A solution to the News homepage challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

Decided to make a more universal approach using API and loading data as if from the backend - from data.json. What does this give? Сan add / remove blocks by editing this file and the layout will not break.

Wanted to make a skeleton-loading, but there is not much loaded content for this.

There is more JS code with the construction of an additional DOM, it would be possible to use NPM Redom ...

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Andrey's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License