I’m having trouble using this
do you literally have element: string and this.content in your code or do those stand for other variables specific to the project?
Also, why is scrollTo within itself?
Apologies if this is a dumb question, I am not well versed in coding jargon .