Submitted
This project definitely took much more time than I expected. I had to do a lot of digging and watching videos about DOM manipulation. I used a lot of MDN to get me through this project. All in all, I feel good about the way it turned out. There was just one problem that I could not fix. When you have two buttons that have .active in their class list, I couldn't figure out a way to detect it and make sure it did not happen. If the user presses two ratings, the form will only submit the second rating as their final rating. If the user decides to click the rating again, it will deactivate due to removing the class. Is there a way to detect within in such a situation, the length and make sure that user doesn't highlight two rating? Is there a cleaner way that I could have organized my JS or CSS code?