How reliable is the browser support for scrolling to a specific section on a webpage using vanilla JavaScript?
This code snippet shows my attempt:
Document.getElementById("menu-item-1").on("click", function() {
Document.getElementById("services").scrollIntoView();
};