how to create 5star review rating for testimonials without plugin in WordPress

already I have created a Testimonial post type but I face a problem which is how to create a review 5-star rating system without any plugin in the meta box.
This is my 5 start rating codes here… just I wanna fix the rating problem.

Plz, anyone help me.

                            <div class="single-slider">
                                <ul class="star-list">

                                <li><i class="fa fa-star"></i></li>
                                <li><i class="fa fa-star"></i></li>
                                <li><i class="fa fa-star"></i></li>
                                <li><i class="fa fa-star"></i></li>
                                <li><i class="fa fa-star"></i></li>
                                
                                </ul>



                                <?php the_content();?>
                                <!-- Client Info -->
                                <div class="t-info">
                                    <div class="t-left">
                                        <div class="client-head"> <?php the_post_thumbnail('testimonial-img');?></div>
                                        <h2><?php the_title();?><span><?php echo get_post_meta(get_the_ID(),'meta-subtitle-Testimonials2', true); ?></span></h2>
                                    </div>
                                    <div class="t-right">
                                        <div class="quote"><i class="fa fa-quote-right"></i></div>
                                    </div>
                                </div>
                            </div>

plz check the pic which i wanna

enter image description here