mohammad hefazi
Wow. This is cool.
The images are a little bit shrinken as you have only given width and height.
You can add the following line to make your image grid better.
.display_images img {
object-fit: cover
}
Super cooool Neha, I wanted to display my photos on my personal website, this gave me some ideas, also can you recommend an article that allows me to use DOM elements like document.queryselectorAll and stuff, i know the basics ones, but creating html elements from JS is something I always wanted to try out.
Andrew Baisden
Full-Stack Engineer | AI-Augmented Developer | React • TypeScript • Node • Python | Cursor + Claude daily
Really cool! Pexels is my second choice after Unsplash.