Daily Code | How to Create Simple Image Modal

Chalid Ade Rahman
1 min readMar 23, 2020

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

--

--

Chalid Ade Rahman

PHP Programmer | PT Electronic Data Interchange Indonesia | Question : chalidade@gmail.com