js element.scrollintoview navbar
const navbarHeight = 70
const target = document.getElementById('test')
target.style.scrollMarginTop = `${navbarHeight}px`
target.scrollIntoView()
florinrelea