Yo! Your code looks correct, but sometimes the element’s position or parent’s CSS messes with js scroll into view.
Quick fix: Wrap the element in a `<div>` with `overflow: auto` and try again.
If that fails, maybe the element’s `display` or `visibility` is wonky. DevTools is your friend here.
Quick fix: Wrap the element in a `<div>` with `overflow: auto` and try again.
If that fails, maybe the element’s `display` or `visibility` is wonky. DevTools is your friend here.
