How To Use Javascript Scroll To Element For Smooth Navigation Code

How To Use Javascript Scroll To Element For Smooth Navigation Code