Тёмный

How to Create a Carousel (Basic) - HTML, CSS & JavaScript Web Design Tutorial 

dcode
Подписаться 132 тыс.
Просмотров 62 тыс.
50% 1

Link to SOURCE CODE:
codepen.io/dcode-software/pen...
In today's video I'll be showing you how to create a basic carousel using HTML, CSS and JavaScript. This is a very simple solution with no fancy animations but as a result, doesn't require much code. Enjoy. 🙂
🏫 My Udemy Courses - www.udemy.com/user/domenic-co...
🎨 Download my VS Code theme - marketplace.visualstudio.com/...
💜 Join my Discord Server - / discord
🐦 Find me on Twitter - / dcodeyt
💸 Support me on Patreon - / dcode
📰 Follow me on DEV Community - dev.to/dcodeyt
📹 Join this channel to get access to perks - / @dcode-software
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #html #javascript

Опубликовано:

 

11 авг 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@rebeccalauren4904
@rebeccalauren4904 Год назад
I am so thankful for this. I was fighting with a bootstrap carousel and thought - why don't I just learn to do it from scratch? very thankful for your video. :) subscribed!
@jamesmassa1999
@jamesmassa1999 2 года назад
Watch this video! There is a hidden gem - Dom will instruct on how to select an element and de-select all other elements. NICE! He does it for a specific reason in the video, but there are many variations on how you can use this little gem of a technique. As always - Thanks, Dom!
@leslievelvy
@leslievelvy 3 дня назад
thank you so much! it's so simple and easy to follow
@lulusaikou221
@lulusaikou221 2 года назад
Simple but very useful tutorial, thanks❤
@priyansh5233
@priyansh5233 2 года назад
Keep making these videos man, love ur videos.
@dtawantawng5131
@dtawantawng5131 Год назад
How would you go about implementing a simple, smooth sliding y-axis transition between slides?
@Reimu_Hakurei_TheCoolMiko
@Reimu_Hakurei_TheCoolMiko 9 месяцев назад
Thanks bro !
@sacramen7o
@sacramen7o 3 месяца назад
Thank you!
@yettikiran916
@yettikiran916 2 года назад
We want more like this 😍 from you man 👑✨...
@MaliciousHerp
@MaliciousHerp Год назад
I would love to learn how to make a timed version of a carousel! This was great!
@RagneUrak
@RagneUrak Год назад
instead of onlclick to move the carousel use a timer (time-interval) to call the function every 7000ms
@MaliciousHerp
@MaliciousHerp Год назад
@@RagneUrak Hi there, thank you so much. In relation to the code in the video, where would I add setinterval?
@joel-rg8xm
@joel-rg8xm 2 года назад
At first, I thought it was too simple, but in the end, the clever code sets up the basis to build a reusable multi-item component template. Thx
@navi2710
@navi2710 2 года назад
This is so elegant it's brilliant.
@clarencecolin8454
@clarencecolin8454 Год назад
Thanks for the tutorial. What if you have multiple items? For example 8 items, there would be 8 separate buttons. How would you create just 3 buttons for 8 or more items?
@jaimeandrescarcamosepulved2456
helpful and to the point. Thank you !
@DGronki
@DGronki 2 года назад
I will try to avoid remove class for all and then add it to one. It can cause flickering especially when we have display none. I think also better to use "data" attribute to avoid creation to meny listeners.
@ductran7258
@ductran7258 Год назад
Exactly what I'm looking for. Thank you, sir.
@amenibramli4213
@amenibramli4213 2 года назад
this video helped me a lot thanks a lot ♥
@lidwinguillermogascagarcia439
I have copy paste the source code because it was not working for me, and still it is not working, since the part where you verify using the `console.log(buttonsHtml);` my browser is not recognizing any array at all, sombody help! I'll hate to have to delete averything and go to watch an other video.
@Authorangelaguajardo
@Authorangelaguajardo Год назад
Thank you so much for this!
@4xHitler
@4xHitler 2 года назад
watched this cause I wanted to see if there was some interesting JS at play. yep you made something which can easily be scaled and I got to learn 1-2 css tricks on the side
@a4cfee
@a4cfee 11 месяцев назад
Lit, i can take this and put the auto play in myself
@NganNguyen-ww1ez
@NganNguyen-ww1ez Год назад
Thank you verry much. it's really useful for me
@Pinovski
@Pinovski Год назад
hello how i could make it change automatically?
@IanRedmon
@IanRedmon 2 года назад
This helped alot. Still, I think having arrows on the sides to scroll is more user-friendly, can you help to implement that?
@orions_belt1030
@orions_belt1030 Год назад
I can't unhear the "here". 😁
@designcoded7585
@designcoded7585 2 года назад
waaw thanks sir , also can you make or show demo on draggable carousel please
@necronomicon-xmortis9362
@necronomicon-xmortis9362 Год назад
from line 7 your code is wrong
@sharjeelahmad1455
@sharjeelahmad1455 2 года назад
Sir make a video on auto-slider HTML CSS and js
@giovannimichel5506
@giovannimichel5506 Год назад
Thank you for the intel
@andrewwallace7017
@andrewwallace7017 Год назад
Is there a way to add text to the buttons?
@VixieTSQ
@VixieTSQ 8 месяцев назад
The word carousel has lost all meaning
@umurew4
@umurew4 Год назад
You are not having what you deserve!
Далее
Top 10 CSS One Liners That Will Blow Your Mind
13:34
Просмотров 898 тыс.
ЧТО ЭТО, БРАВЛ СТАРС?!😱
1:40:09
Просмотров 1,7 млн
Yes or No Fruit Shake for My Son #cooking #shorts
00:41
5 Useful CSS Properties You Probably Didn't Know
12:47
Просмотров 3,1 тыс.
How To Create An Image Slider In HTML, CSS & Javascript
24:42
Subtle, yet Beautiful Scroll Animations
5:04
Просмотров 1,6 млн
HTML and CSS Project Tutorial: Pure CSS Image Slider
7:41
Vite Crash Course | Faster Alternative To CRA
16:24
Просмотров 184 тыс.
Creating an infinite logo carousel with pure CSS
12:18
Просмотров 105 тыс.