Yori• 110
@yori21
Submitted
I'm having trouble with the rating section .Can someone provide feedback on how to overcome undefined in the rating that I made with js. default rating is 5 of 5. I'm very thanksful for you'r feedback
@shempill24
@yori21
Submitted
I'm having trouble with the rating section .Can someone provide feedback on how to overcome undefined in the rating that I made with js. default rating is 5 of 5. I'm very thanksful for you'r feedback
@shempill24
Posted
As per your posted question. Check the last line on your js file. It should be
rating.innerHTML= rate.innerHTML
->rates.innerHTML is returning the nodeList vs the inner text of the single clicked rate which is why it is returning undefined. Great job!
Marked as helpful