@varuno3
Posted
I see you've missed a text portion in the second(thankyou) page, which says "you selected x out of 5". You can achieve that by creating a variable that can save your rating value, create a container that will contain the required text and give it a class for eg. result, then display it at the place you want by doing the following in JS:
document.querySelector(.result
).innerHTML = You selected ${variableName} out of 5
;
PS: I've put the grave accent ( ` ) across the text which is being highlighted here, you need to put those grave accent marks in you JS as well.
Marked as helpful