How to horizontally align extra columns to center using bootstrap 4

bootstrap col center output

My requirement was to align six columns to center but with only four columns in one row due to the width constraint as shown in the picture below. So what should happen to the rest of the two columns. They wrap to the next line. But towards the left. So how do you pull these … Continue reading How to horizontally align extra columns to center using bootstrap 4

Advertisements

How to effectively attach eventListeners to DOM elements

Anonymous functions are great way to quickly get the job done, but can be a huge problem when used carelessly. It is especially when attaching eventListeners to DOM elements. Take the code below for example. Here we are attaching an eventListner to the element for the "click" event. Now, later lets say for some reason … Continue reading How to effectively attach eventListeners to DOM elements