Skip to content
  • Unlock Pro
  • Log in with GitHub
Challenge
Step 1: Start challenge
Free
  • HTML
  • CSS
  • JS
3intermediate

Interactive comments section

This is project will put your JavaScript skills to the test. We provide a JSON file to pull the data, but it's also a perfect project to build as a full-stack CRUD app!

Join 17,654 people who have taken this challenge

📝Brief

Your challenge is to build out this interactive comments section and get it looking as close to the design as possible.

You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.

We provide the data in a local data.json file, so use that to populate the content on the first load. If you want to take it up a notch, feel free to build this as a full-stack CRUD application!

Your users should be able to:

  • Create, Read, Update, and Delete comments and replies
  • Upvote and downvote comments
  • View the optimal layout for the app depending on the device's screen size
  • See hover states for all interactive elements on the page
  • Bonus: If you're building a purely front-end project, use localStorage to save the current state in the browser that persists when the browser is refreshed
  • Bonus: Build this project as a full-stack application

Download the project and go through the README.md file. This will provide further details about the project and help you get set up.

Want some support on the challenge? Join our community and ask questions in the help channel.

🗃Assets provided

  • Figma design file access - Unlock with Pro
  • JPEG design files for mobile & desktop layouts
  • Style guide for fonts, colors, etc.
  • Optimized image assets
  • README file to help you get started
  • HTML file with pre-written content

💡Ideas to test yourself

  1. Write your styles using a pre-processor, such as Sass, Less or Stylus
  2. Train your eye for detail by getting your solution as close to the design as you can
  3. Use a JavaScript framework/library to practice building using components
  4. Try estimating the time it will take for you to build the project. Then see if the time taken matches up to your estimate. Project estimations are a skill that is often overlooked, but is important for professional developers

Challenge FAQs

  • How can I get help if I'm stuck on a challenge?
  • How do I submit my solution?
  • Is there an official solution I can take a look at?
  • Do I get a code review when I post my solution?
  • Can I use libraries/frameworks on these projects?
  • Can I use these projects in my portfolio?
  • How often are new challenges added?
  • What is the difference between the desktop-design, mobile-design, and desktop-preview images in my starter code?
  • Can I use these challenges within my own free or commercial content/tutorials/projects?

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