Daily Code | How to Create Simple Image Modal

This very simple sharing, i just wanna create simple image modal with boostrap and native javascript. Let’s check this out.

As you see on above, I create simple modal using Boostrap that i linked on image. When image click, it will show modal that contain image and caption that i get from image alt.

Normal Condition :

When it Click :

Very Simple, just comment below if you have problem. Let’s discuss with me. Hope it help.

#Dailycode #Imagemodal #EasyTutorial



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