ALERT

Alerts are used to give status, feedback or information to the users based on certain action performed with a descriptive message.

Simple Alerts

There are 6 types of alerts which can be used based on different contexts.

The five different alerts are : primary alert, success alert, error alert, warning alert, dark alert and light alert.

In order to use the alerts you can just add the class name alert to your text container div and you can add another class based on the type of alert you want to use like alert-primary, alert-sucess , alert-error , alert-warning , alert-dark and alert-light.

Code Example :
Well Done !

Alerts with Icon

Alerts can have icon relevant to the alert message to attract user's attention.

Code Example :

Alert with close button

Alerts can have close button so that the user can close the alert box.

Code Example :
HTML
Javascript