Image lightboxes are incredibly popular, especially in portfolio websites. Luckily, implementing a lightbox is much easier than it looks. In this video I will be breaking down exactly what a lightbox is and how to set one up using HTML, CSS, and JavaScript. I will also be discussing exactly why I write each line of code as well as potential alternative options as I go. By the end of this video you will have a fully working lightbox example ready to add into your own applications.
📚 Materials/References:
CSS Grid Tutorial: • Learn CSS Grid in 20 M...
Defer vs Async Tutotorial: • What Is The Fastest Wa...
GitHub Code: github.com/Web...
CodePen Code: codepen.io/Web...
🧠 Concepts Covered:
How to dynamically create HTML elements
How position fixed works
Showing/hiding HTML elements
Setting up event listeners
CSS grid
🌎 Find Me Here:
My Website: webdevsimplifi...
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: github.com/Web...
CodePen: codepen.io/Web...
#Lightbox #WDS #ImageLightbox
30 сен 2024