Create components with ES6 Vanilla Javascript.

Why? because it has helped me further my understanding of frameworks like Reactjs, Vuejs, Preactjs, and others. And it’s a Friday night.

es6 IIFE, I have reassigned global variables to shorten the DOM lookup and when referencing.
This is a lot of information to take in, but don’t worry, just test it all in the :)
Now we have our navbar component, and we will execute the setup_navbar() upon page load.
Reach into your mind and pull out some javascript.

Software Engineer @Articulate & Bboy. Passionate @ solving digital and human problems. /

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store