Skip to content

A React-based star rating component that allows users to rate a product or service on a scale of one to five stars.

License

Notifications You must be signed in to change notification settings

jakubjirous/interactive-rating-component

Repository files navigation

🚀 Interactive Rating Component

This is a solution to the Interactive Rating Component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.


✅ Table of contents


💡 Overview

The challenge

Users should be able to:

  • View the optimal layout for the app depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Select and submit a number rating
  • See the Thank you card state after submitting a rating

Screenshots

active state active state

submitted state submitted state

Links


🎯 My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • React – JS library
  • Next.js – React framework
  • Chakra UI – For styles

What I learned

In this code challenge, I learned how to work with Chakra UI, a React component library that provides pre-styled UI components. I gained an understanding of its concepts, such as components, styles, and themes.

The main takeaway for me was learning how to create a foundation for larger scale projects using Chakra UI as a starter point, particularly when using custom theming. This knowledge will be valuable for future projects as I can use Chakra UI to efficiently create UIs, and focus more on the functional aspects of my application.

Useful resources


👨‍💻 Author

About

A React-based star rating component that allows users to rate a product or service on a scale of one to five stars.

Topics

Resources

License

Stars

Watchers

Forks