HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Simple Image Lightbox Tutorial

89,360 views November 2, 2019 14:04

Watch on YouTube
ChannelWeb Dev Simplified

Description from the creator

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: youtu.be/9zBsdzdE4sM
- Defer vs Async Tutotorial: youtu.be/BMuFBYw91UQ
- GitHub Code: github.com/WebDevSimplified/Lightbox
- CodePen Code: codepen.io/WebDevSimplified/pen/mdbwgxy


🧠 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: webdevsimplified.com
Patreon: patreon.com/WebDevSimplified
Twitter: twitter.com/DevSimplified
Discord: discord.gg/7StTjnR
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified


#Lightbox #WDS #ImageLightbox

About this tutorial

Web Dev Simplified published this 14:04 video tutorial on November 2, 2019. It has been watched 89,360 times on YouTube.

Category
Education
Duration
14:04
Published
November 2, 2019
Views
89,360
Likes
2,152

Share

This tutorial in other languages