/Star-Rating

A React Interview Question - from ZTM Projects

Primary LanguageJavaScript

React Star Rating Component
Live Site: https://replit.com/@ProfoundlyParke/StarRating

This is a Zero to Mastery Interview project - with some added improvements and style changes!

How to Use:

  • Hit "Run" at top of Replit page
  • Select your star rating
    star-rating-select_AdobeExpress
  • You can also de-select by clicking the same star star-rating-deselect_AdobeExpress (1)

Description

A project created using React, React Hooks, JavaScript, and Tachyons CSS deployed on Repl.it

A huge thanks to Andrei Neagoie for creating ZTM to help encourage new developers like myself to pursue their passions!

A simple React app that displays a product and product rating card. This project was built to practice your React interview skills.

To Edit Repl.it:

  • Edit App.jsx and watch it live update!

By default, Replit runs the dev script, but you can configure it by changing the run field in the configuration file. Here are the vite docs for serving production websites

Running React on Repl.it

React is a popular JavaScript library for building user interfaces.

Vite is a blazing fast frontend build tool that includes features like Hot Module Reloading (HMR), optimized builds, and TypeScript support out of the box.

Using the two in conjunction is one of the fastest ways to build a web app.

Typescript

Just rename any file from .jsx to .tsx. You can also try our TypeScript Template