How To Make Image Gallery Using HTML, CSS & JavaScript | Create Image Gallery Step by Step

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025
  • How To Make Image Gallery Using HTML, CSS & JavaScript | Create Responsive Image Gallery Step by Step using HTML, CSS and JavaScript
    ❤️ SUBSCRIBE: goo.gl/tTFmPb
    In this video you will learn about HTML and CSS image gallery design. We will learn how to create responsive images gallery with the help of CSS grid layout. After that we will add hover effect on images of this gallery. we will also add click function on image, when we will click on any image then the same image will be displaying in center of web page and remaining part of the website will become dark. there will be a close icon, if we click on the close icon, it will close the popup image and we can again see all images of the gallery. we will make this click function using very simple JavaScript.
    Learn CSS Grid Layout:
    ► • How To Create A CSS Gr...
    Download Images:
    drive.google.c...
    -----------------------------------------
    Suggested Course:
    ❤️ Complete website Using HTML and CSS
    ✔️ 8 Complete website step by step
    ✔️ Source Code Download
    ✔️ 76 Lectures, 12 Hours Video
    ✔️ Course Completion certificate
    👉 easytutorialsp...
    -------------------------------------
    Recommended Videos:
    Learn Complete HTML and CSS from basics:
    ► • HTML And CSS Tutorial ...
    Make A Complete Website for college using HTML & CSS:
    ► • How To Make A College ...
    How to make a Business website step by step:
    ► • How To Make Website Us...
    How to make personal resume website step by step:
    ► • How To Make A Website ...
    How to make fitness website design using HTML CSS:
    ► • How To Make A Website ...
    How to make an Ecommerce Website Design:
    ► • How To Make eCommerce ...
    How to make a Job Portal website design with HTML & CSS:
    ► • How To Make Website Us...
    How to make travel website design with HTML CSS Bootstrap:
    ► • How To Make A Website ...
    -------------------------------------
    Affordable web hosting (coupon- EASYTUTORIALS)
    👉 easytutorialsp...
    My recommended tools and tutorials
    👉 easytutorialsp...
    -------------------------------------
    ◼️ Source code link is shared in community post for all my coding videos exclusively for channel members (only channel members can see)
    Join Channel Membership:
    ► / @greatstackdev
    -------------------------------------
    Image credit:
    www.pexels.com
    -------------------------------------
    Like - Follow & Subscribe us:
    ◼️ RUclips: goo.gl/tTFmPb
    ◼️ Facebook: goo.gl/qv7tEQ
    ◼️ Twitter: / itsavinashkr
    ◼️ Instagram: / iamavinashkr

Комментарии • 164

  • @SowmyaMaddukuri
    @SowmyaMaddukuri 5 месяцев назад +6

    I never saw this type of teaching in web development you are teaching soo well explaining ever thing you are doing! Hands off man !!

    • @GreatStackDev
      @GreatStackDev  5 месяцев назад +1

      Thank you so much. Keep learning.

  • @saggysshorts
    @saggysshorts 3 года назад +25

    Sir your channel is reason to fall in love with web design ❤️🔥🙏🏻

  • @nerdyfullo
    @nerdyfullo 3 года назад +5

    SIR, YOU ARE A LEGEND!.
    THANK YOU GAZILLION TIMES!

  • @Ravikumar-ir8kg
    @Ravikumar-ir8kg 3 года назад +2

    Great effort sir. I see for your vedio's make simple website own..
    Thanks a lot uploaded vedio

  • @snigdhoshakib4346
    @snigdhoshakib4346 3 года назад +1

    Always big fan from Bangladesh

  • @nurshamimsaidi
    @nurshamimsaidi 2 года назад +1

    Thanks for sharing on how to do this. I need more time understanding all of this honestly.

  • @jithmiimaya-y6r
    @jithmiimaya-y6r Год назад

    It was very helpful....and very very creative

  • @deadpolymers3416
    @deadpolymers3416 2 года назад +8

    Exactly what I was looking for. This a great, and very simple way to add a gallery to my website. Thank you.

  • @anikhossain8172
    @anikhossain8172 Год назад

    thank you very much brother. its a nice and very help full video for me.
    again thanks a lot.
    keep going like this .
    best of luck.
    Love form Bangladesh.💝

  • @kavitagoski
    @kavitagoski 2 года назад +1

    Thanks a lot for this video. It really helped me a lot..!!

  • @jurglienhard5913
    @jurglienhard5913 Год назад +6

    Dear friend
    Your presentation is perfect and works flawlessly. I'm excited.
    Question: Instead of the selected large image, I would like to display the content of a stored URL address directly. is this possible Thank you for any suggestion. Best regards from Switzerland from Jürg Lienhard

  • @sumitprusty5256
    @sumitprusty5256 3 года назад +1

    It will be very helpful for us who want to be an affiliate.

  • @republicadatocha
    @republicadatocha Год назад

    Thank you very much👍

  • @uccoskun
    @uccoskun Год назад

    very good instruction. Very helpfulll..

  • @vanshbansal2406
    @vanshbansal2406 3 года назад +1

    hii sir i watch all your vedios it is very helpful sir thankyu so much

  • @kastorkitov9381
    @kastorkitov9381 Год назад

    you are a machine,thanks!

  • @englishmaster869
    @englishmaster869 Год назад

    Thank you for taking the time to help me with my project. I really appreciate it.

  • @Nika_Scott
    @Nika_Scott 2 месяца назад

    clever stuff, thankyou very much.

  • @mohammadmeraj40
    @mohammadmeraj40 9 месяцев назад

    Very nice thanks bro👌👌❤️❤️

  • @apnacoding6918
    @apnacoding6918 Год назад

    thank you this tutrorial i loved

  • @Marcin-yc9ol
    @Marcin-yc9ol 2 года назад

    Thank you so much for the tutorial. Much love

  • @Triple_A1
    @Triple_A1 2 года назад

    thank you so much @Easy Tutorial you're one a million, keep up the good work

  • @ryeadssincebangali9003
    @ryeadssincebangali9003 3 года назад

    Yes, This Video Help full for me

  • @pavanprasad9359
    @pavanprasad9359 3 года назад +1

    Thank you.. your video helped me a lot😊

  • @SalmanShah95
    @SalmanShah95 3 года назад +1

    Thanks

  • @dalewinburn5867
    @dalewinburn5867 3 месяца назад

    Beautiful video, just what I was looking for and well done. One question, can I add a description to each photo on the gallery page?
    Thank you, Dale Winburn

  • @kalyanikumari4227
    @kalyanikumari4227 3 года назад +5

    First 🔥🔥

  • @codigofontetecnology4748
    @codigofontetecnology4748 3 года назад +1

    Dear friend I love your content very much he helped me a lot and was source of inspiration for me to make up a channel source code continue so because so you will help many new future web programmers. ✌👌

  • @peterkabiru5144
    @peterkabiru5144 Год назад +2

    I like your style of explaining things. 👍. have you ever thought of diving deeper to backend ..and create a complete webapp with Nodejs. then share it here..a complete process like the way you do with Front end. Probably add a framework like React for Front end... I think your style of teaching can make the hard staff easier to absorb like the way you do with css tricks

  • @VanshMistry
    @VanshMistry 3 года назад

    12 👍 like and 4 comment❤️

  • @DejanPavlovic-tu8vj
    @DejanPavlovic-tu8vj Год назад

    If there is left and right scroll button,it would be perfect :) Still amazing,I will add my photos here and make it library of our trips and celebrations... Thank you very much

  • @savariyemmewar9581
    @savariyemmewar9581 4 месяца назад

    Amazing tutorial

  • @pratikthakur8113
    @pratikthakur8113 10 месяцев назад

    thank you for the help

  • @budimulyadi8489
    @budimulyadi8489 2 года назад

    alhamdulillah, thanks bro

  • @zainakokeh5365
    @zainakokeh5365 3 года назад

    thank's you are Great

  • @simeonarnaudov5948
    @simeonarnaudov5948 3 месяца назад

    Thank you for nice lecture. I have question, maybe I did not do something as you do it, and wonder where I do mistake. Firstly, I do not get rotate with 1 degree, second with javascript, I cannot get the smae result as you do. Should I install something on my PC to run the same result as you did?

    • @simeonarnaudov5948
      @simeonarnaudov5948 3 месяца назад

      I need to answer to my question here. I did mistake in syntaxes, for example in css file was missing ";" for the rotation style. In JavaScript, I had mistake in the display function, instead "display" was written "dispaly". Thank you, I learned a lot today. Will keep watching your virtual lestons. See you soon again.

  • @techwithotabek
    @techwithotabek 3 года назад +1

    Good explanation bro 👍very useful

  • @jeffixTV
    @jeffixTV 4 месяца назад

    Broooooo veryy thanks for this video

  • @johnmackin46
    @johnmackin46 3 года назад +4

    Great video! Would like to see buttons on the modal to navigate between images

    • @GreatStackDev
      @GreatStackDev  3 года назад +4

      this video can help you with that: ruclips.net/video/C1B1Fx3XKOg/видео.html

  • @user-ouss
    @user-ouss Год назад

    Very good the video is help me well

  • @waynemunene8346
    @waynemunene8346 2 года назад

    Amaizing work. I managed to create my own gallery too.

  • @CanadianGuyPeter
    @CanadianGuyPeter Год назад

    This was very helpful, thank you!

  • @abdikanin3196
    @abdikanin3196 3 года назад +2

    Amazing always.

  • @wonpaper
    @wonpaper 2 года назад

    Greate your video, thanks ^^

  • @gabrielorphiano2818
    @gabrielorphiano2818 3 года назад

    thank you, man!

  • @javiervarela8189
    @javiervarela8189 2 года назад +1

    Thanks for the content, it's great

  • @sumitprusty5256
    @sumitprusty5256 3 года назад +2

    Sir please make a website for affiliate marketing using html , css and javascript

  • @NthabelengRaphala
    @NthabelengRaphala 2 года назад +1

    i love this and im using it for my poe submission at school . please , how can i add a different caption(paragraph) when i open an image

  • @ljinuk81
    @ljinuk81 2 года назад

    you are a star thanks, i just need to make it responsive now, appears really small in mobile, tablet mode.

    • @GreatStackDev
      @GreatStackDev  2 года назад

      in min-max just increase the minimum with

  • @_KaranPolawala
    @_KaranPolawala 3 года назад

    bro you are too good

  • @KajalSinghshine
    @KajalSinghshine 3 года назад

    Thank you so much.

  • @MuradHasanAlvee
    @MuradHasanAlvee 3 года назад +1

    Thanks sir htm CSS and JavaScript use Karke video upload Kardo

  • @codewithkaran8860
    @codewithkaran8860 2 года назад

    Very helpful video 🥰

  • @luckymiracle669
    @luckymiracle669 2 года назад +1

    exactly what I was looking for. This a great, and very simple way to add a gallery to my website. Thank you.

  • @seppneimusser5723
    @seppneimusser5723 2 года назад

    Your tutorials are amazing, thank your so much for that^^

  • @AlexAnder-fk2yg
    @AlexAnder-fk2yg 2 года назад

    thanks for the vid, interesting to know how to add prev and next buttons to it

    • @GreatStackDev
      @GreatStackDev  2 года назад

      Please check this gallery tutorial: ruclips.net/video/4gcy-qT9kGw/видео.html

  • @speednb2074
    @speednb2074 2 года назад

    Thanks sir

  • @boxingwar5271
    @boxingwar5271 3 года назад

    Thank you my pro

  • @CaptainDK98
    @CaptainDK98 3 года назад

    Perfect bro ❤️🔥

  • @gamermcw
    @gamermcw 6 месяцев назад

    Great video

  • @tehniatmirza8183
    @tehniatmirza8183 7 месяцев назад

    Sir thank you very much but what if images are of different sizes? As all the containers in a grid is of same size , then the container with a smaller image will remain empty . Is there any way to utilize the total available space efficiently?
    so that segmentation of the container can be avoided. And at runtime, the most appropriate image that fit the available container space take its place.

  • @ferdinandgetti1260
    @ferdinandgetti1260 3 года назад

    Great! Thanks. (just for bigger screen i would suggest minmax 300px

  • @yohaniabeykoon5108
    @yohaniabeykoon5108 2 года назад

    superb one 🙂

  • @zamirshams3430
    @zamirshams3430 2 года назад

    just mazing

  • @darkknight1346
    @darkknight1346 3 года назад +1

    Awesome

  • @easy6007
    @easy6007 3 года назад +1

    nice 😃

  • @darkking3097
    @darkking3097 2 года назад +3

    Can you make a image slider ?

  • @poltytgat322
    @poltytgat322 3 года назад

    Great video !!!

  • @misssaharbanu524
    @misssaharbanu524 3 года назад +3

    sir, Edit HTML CSS from any software? please reply sir

    • @GreatStackDev
      @GreatStackDev  3 года назад

      you can use any text editor, i will recommend you to learn from this beginner's tutorial: ruclips.net/video/GAZVvpjxYQY/видео.html

    • @Rojgar.Patrika
      @Rojgar.Patrika 3 года назад

      Now how to put download and share buttons below each of these images

    • @Rojgar.Patrika
      @Rojgar.Patrika 3 года назад

      @@GreatStackDev Now how to put download and share buttons below each of these images

  • @rizwanwaris
    @rizwanwaris 2 года назад

    From where I can download your all files which you have created in this tutorial??

  • @sanchitagarwal9015
    @sanchitagarwal9015 3 года назад +1

    Sir please make a video on javascript tutorial

  • @bilalrashid7783
    @bilalrashid7783 3 года назад +1

    how to create dropdown navbar using html and css and bootstrap plz make this video

  • @natureworld1513
    @natureworld1513 3 года назад +1

    Thanks, sir how to make online website...

    • @GreatStackDev
      @GreatStackDev  3 года назад

      learn here: ruclips.net/video/0csRmmgN31o/видео.html

  • @senoucimohammedelamine4225
    @senoucimohammedelamine4225 Год назад

    can i use the same formula for figures instead of images?

  • @kaustubhdeore7789
    @kaustubhdeore7789 3 года назад

    Great video thanks bro. Can u make a video on how to add upload file option so that i can add images from my files to this image gallery

  • @vatoloco1348
    @vatoloco1348 2 года назад

    What size are the images, or can we use any size?

  • @gohliyee4148
    @gohliyee4148 2 года назад

    Thank you so much for your work !!!! Really appreciate it !!!

  • @Ninjaaa14
    @Ninjaaa14 2 года назад

    Awsome

  • @lukasz0101
    @lukasz0101 22 дня назад

    What if I still wanted to enlarge the image that displays when I click on the icon?

  • @HarshaValorant
    @HarshaValorant Год назад +1

    I referred your html css code. For functionalities I used Javascript. I fetched the full image id,clicked image id and changed the fullimage.src path to clicked image path. But I am not able to display it. I asked chatgpt but it says that - "If you are working with local image files on your computer, displaying them directly from the local file system using JavaScript in a web browser is restricted due to security reasons." Can you please help me?
    const images = document.querySelectorAll('.image');
    let fullImageElement = document.querySelector('.full-img');
    images.forEach(image => image.addEventListener('click',function(e){
    let src = e.target.src;
    let fullImageElement = document.querySelector('.full-img');
    fullImageElement.src = src;
    fullImageElement.style.display = 'flex';
    })
    );

  • @kappapoojithareddy4738
    @kappapoojithareddy4738 11 месяцев назад

    Sir, could you plse tell how to add thumbnail when I enlarge the image

  • @MuradHasanAlvee
    @MuradHasanAlvee 3 года назад +1

    Sir
    One problem here when cursor stay in picture corner the picture was vibrate solve this problem sir

  • @anjalipatil9398
    @anjalipatil9398 3 года назад +1

    openfullimg function is not working in my laptop.. when i click on single img it is not showing me full img box pls tell me where i am wrong

    • @swethajakate2409
      @swethajakate2409 3 года назад

      Same here, sir could u tell where we might have went worng?

  • @uccoskun
    @uccoskun 11 месяцев назад

    Hello: My display image is above the gallery images but rather than over them. How can i move it as an overlay over the galery images?

  • @emmanuelxs6143
    @emmanuelxs6143 3 года назад +2

    Can you do the gallery in a pyramid form

  • @arham_faisal2236
    @arham_faisal2236 3 года назад

    👍👍🔥🔥🔥

  • @OmarAli-mv8iu
    @OmarAli-mv8iu 3 года назад +1

    Bro can we use only Html and css

    • @GreatStackDev
      @GreatStackDev  3 года назад

      for click feature we need javascript also

  • @Rojgar.Patrika
    @Rojgar.Patrika 3 года назад +6

    Now how to put download and share buttons below each of these images

  • @joaopauloh9443
    @joaopauloh9443 3 года назад

    very nice

  • @LatifahBaron2020
    @LatifahBaron2020 3 года назад

    Learning the basics..brbsn

  • @vigneshravi4058
    @vigneshravi4058 3 года назад +1

    Why we are using div for bg instead of giving bg image in body. Any specific reasons

  • @mirzadietplans
    @mirzadietplans 3 года назад

    Sir please guide me for the next and previous button functionality for this gallery

  • @jimjarrel9179
    @jimjarrel9179 Год назад +1

    I am a member, where can I find the code for this project?

    • @GreatStackDev
      @GreatStackDev  Год назад

      here it is: ruclips.net/user/postUgw09i1d5v3ZazlEpQx4AaABCQ
      you can find it yourself in community post:
      ruclips.net/channel/UCkjoHfkLEy7ZT4bA2myJ8xAcommunity

  • @ryan_writes8221
    @ryan_writes8221 Год назад +1

    Sir what if i have to add image through button in in this gallery?
    Can anyone help me?

  • @sukeshbera8759
    @sukeshbera8759 3 года назад

    how to add like buttons into the image like its in pixelbay and other image website .

  • @ankurdas2943
    @ankurdas2943 Год назад

    how to add a left/ right option in the full image view window, please help

  • @tanveerhussain3061
    @tanveerhussain3061 Год назад +2

    i want this code as a source file

  • @mohammadasif6302
    @mohammadasif6302 3 года назад

    Sir please make playlist on react js project

  • @futuredays1946
    @futuredays1946 3 года назад

    Great video, Thank you so much sir 🙏 how can i get the source code

  • @vikisneakers
    @vikisneakers 3 года назад

    Nice