Question: Write a system to display star ratings using Angular components. Requirements Your task is to create three components in Angular which, based on supplied data,
Write a system to display star ratings using Angular components.
Requirements
Your task is to create three components in Angular which, based on supplied data, will allow the display of individual ratings, a list of ratings and an average rating. The components are
Rating Component
Displays an individual rating. It takes name, rate, content properties and, depending on the rating, displays the appropriate number of filled and empty stars. For example: a rating of means that four filled stars and one empty star should be displayed
The Rating Component component should have the className
ratings item
In the Rating Component component, name should be rendered in
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
