My code is causing an error that I don't understand. Any help would be appreciated... I'm getting the following error message:
Property does not exist on type '.js--section-plan'.ts(2339)
when I hover over the offset()
in vscode
$('.js--scroll-to-plans').click(function()
{ $('html, body).animate({scrollTop:.
('.js--section-
plan').offset().top},1000) });