@hectorjbdSubmitted almost 2 years ago
Can you rate me?
Can you rate me?
The functionality of the form works great, but the buttons are not circular. To fix that I just explicitly gave them a width and height and it worked.
Personally, I prefer to use classes for CSS only and id's for JavaScript. What I would have done is put an id on the rating button container and then used querySelectorAll for buttons inside like this.
const ratingBtns = document.querySelector("#rating-btns");
const rates = ratingBtns.querySelectorAll("button");
Overall though, good job.