Thank you, it works, but I’m sort of confused. Is ‘sports’ not the variable? By assigning the value in typeOfSport.textContent to it, is it not supposed to be on the left and typeOfSport.textContent on the right of the equality sign.
By the way, there is a red underline error in the period of the typeOfSport.textContent
sport is a variable that contains a valua, and now we want to show that value inside the typeOfSport html element, so we write that line to put the value of sport in the text of the html element