|
|
@ -10,6 +10,12 @@ ratingsContainer.addEventListener('click', (e) => {
|
|
|
|
e.target.parentNode.classList.add('active')
|
|
|
|
e.target.parentNode.classList.add('active')
|
|
|
|
selectedRating = e.target.nextElementSibling.innerHTML
|
|
|
|
selectedRating = e.target.nextElementSibling.innerHTML
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(e.target.classList.contains('rating')) {
|
|
|
|
|
|
|
|
removeActive()
|
|
|
|
|
|
|
|
e.target.classList.add('active')
|
|
|
|
|
|
|
|
selectedRating = e.target.nextElementSibling.innerHTML
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
sendBtn.addEventListener('click', (e) => {
|
|
|
|
sendBtn.addEventListener('click', (e) => {
|
|
|
|