// Now we loop through sections to get height, top and ID values for each
sections.forEach(current=>{
constsectionHeight=current.offsetHeight;
constsectionTop=current.offsetTop-50;
sectionId=current.getAttribute("id");
/*
- If our current scroll position enters the space where current section on screen is, add .active class to corresponding navigation link, else remove it
- To know which link needs an active class, we use sectionId variable we are getting while looping through sections as an selector