const anchors = document.querySelectorAll('.one')
for (let anchor of anchors) {
anchor.addEventListener('click', function (e) {
e.preventDefault()
document.querySelector('.two').scrollIntoView({
behavior: 'smooth',
block: 'start'
})
})
}