Skip to main content

Build a star rating widgetpractice exercise

HTML5andCSS3 logoPRACTICE

Wire up the five .star buttons so clicking one writes its data-value into #rating.

Acceptance criteria

  1. 1.Clicking the 4th star sets #rating to 4.
  2. 2.Clicking the 1st star sets #rating to 1.
  • Northcorp Software
  • Accenture
  • Helpshift
  • Mundrisoft Solutions
  • Nielsen
  • PayPay Corporation
1
0 × 0

Output ready when you are

Press Run to render your code, or Submit to validate your solution.