Easily Create Buttons With Icons Using HTML & CSS - Web Development Tutorial

  Рет қаралды 171,818

dcode

dcode

3 жыл бұрын

View the Code & CodePen:
dcode.domenade.com/tutorials/...
In today's video I'll be showing you how to create a button with icons using HTML & CSS. This is easily done, and can be added to your own website or project.
Icon library used (Ionicon):
ionicons.com/
Join this channel to get access to perks:
/ @dcode-software
💜 Join my Discord Server:
/ discord
🎨 Download my Visual Studio Code theme:
marketplace.visualstudio.com/...
Support me on Patreon:
/ dcode
Follow me on Twitter:
@dcodeyt
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 #css

Пікірлер: 98
@jossiahtetteh4326
@jossiahtetteh4326 2 жыл бұрын
we pay huge fees to be taught all these yet still we always come back to a youtuber like this awesome guy to understand them better... u did all bro +1 subscriber
@juanraostos6713
@juanraostos6713 2 жыл бұрын
@adheesh Mishra g
@juanraostos6713
@juanraostos6713 2 жыл бұрын
@@communistrussia2668 g
@juanraostos6713
@juanraostos6713 2 жыл бұрын
@adheesh Mishra g
@juanraostos6713
@juanraostos6713 2 жыл бұрын
jj
@juanraostos6713
@juanraostos6713 2 жыл бұрын
@@communistrussia2668 rr
@jakobo5521
@jakobo5521 2 жыл бұрын
Thank you for this video! I needed to get back and refresh some stuff in terms of creating buttons. Really good source for that! Thanks once again. Cheers! :)
@ShaudaySmith
@ShaudaySmith Жыл бұрын
Dude, you just rocked my prenatal understanding of css. this was soooo helpful!!
@lotannaezeuko7157
@lotannaezeuko7157 Жыл бұрын
this is one of the best videos that i have watched in regards to coding. Everything is so clear and the files are very easy to access. Thank you.
@dcode-software
@dcode-software Жыл бұрын
That's a very nice compliment, thank you! Happy to help
@irun_mon
@irun_mon Жыл бұрын
very awesome tutorial and beginners friendly, explained every step even the small ones, many tutorials just skip those parts and I don't know what they did and just assume people just know what they're doing.
@dcode-software
@dcode-software Жыл бұрын
Thank you! That's something that I really try to focus on in my content - not leaving out the little details.
@Fred-my9er
@Fred-my9er Жыл бұрын
I like how you explain every single thing. thanks
@MrSalFav
@MrSalFav 2 жыл бұрын
This is really good video. Thank you !!
@amplimagic2216
@amplimagic2216 Жыл бұрын
Thanks! Helped me a lot
@__jake.m
@__jake.m 2 жыл бұрын
Thank you so much for this! :D
@dcode-software
@dcode-software 2 жыл бұрын
You're welcome!
@bonganihbonderah9541
@bonganihbonderah9541 5 ай бұрын
Thanks man So helpful.
@franco9571
@franco9571 2 жыл бұрын
LA MEJOR EXPLICACION DIOS MIO QUE BUEN TUTORIAL
@saraeissa4954
@saraeissa4954 2 жыл бұрын
Thanks this was a great help I just now have to figure out how to put this button into the Tabs section of my website at the top. I cant figure out where all this button detail stuff goes with my tab stuff.
@SealSal
@SealSal 2 жыл бұрын
I'm trying the follow this tutorial when it is my first time using JS/HTML/CSS after 4 hrs
@byleexs1991
@byleexs1991 Жыл бұрын
best tutorial I've seen on buttons yet! Instalike
@brythm5465
@brythm5465 2 жыл бұрын
This was excellent! Got through it and my button is there!, but im not sure how to connect it to the next page ive created? Please help!
@stern7658
@stern7658 Жыл бұрын
this is the only video i found that show how to do this
@Chopitupwithme
@Chopitupwithme 9 ай бұрын
Thanks!
@nq2c
@nq2c 2 жыл бұрын
amazing thank you so much
@tellstod3350
@tellstod3350 2 жыл бұрын
Thnak you bhai.
@emmanuelrf
@emmanuelrf 3 жыл бұрын
Nice and easy; simple, but elegant! 👌🏼
@dcode-software
@dcode-software 3 жыл бұрын
Thanks!
@bendsi4530
@bendsi4530 Жыл бұрын
very well explained mate but I would suggest not giving the container height instead give padding to both the text inside the button and the icon
@septimusforster
@septimusforster 7 ай бұрын
Hey, man. Glad to finally see you! But I gotta say, your voice never matched my imagination of your visage. But you're all right.
@adelm2887
@adelm2887 3 жыл бұрын
Awesome man ! Thanks a lot +1 subscriber
@dcode-software
@dcode-software 3 жыл бұрын
😁
@georgianvineyard
@georgianvineyard Жыл бұрын
thank you for the video. i have one question why all in html ? why dont you put style part in css ?
@ob7349
@ob7349 2 жыл бұрын
Adore your explanationS🥰
@dcode-software
@dcode-software 2 жыл бұрын
No problem ☺️
@marjkatb760
@marjkatb760 Жыл бұрын
this was a great video! I have an issue though, because there's red squiggly lines under the words on my button and I don't know what's wrong or how to fix it
@valentinarojic8466
@valentinarojic8466 2 жыл бұрын
Great video!! How could I replace de icon with a Logo? Thanks!
@Soamy_adhikari28
@Soamy_adhikari28 Жыл бұрын
Thanks this is helpful for me 👍👍👍 can we fix size of icons
@romuloalves9349
@romuloalves9349 3 жыл бұрын
Ótimo vídeo parabéns 👏.
@Barresider
@Barresider 3 жыл бұрын
Why did you use inline-flex for button__text and button__icon? In my view you only need this if the elements are in a text flow, which they are not because the parent container is display flex?
@Barresider
@Barresider 3 жыл бұрын
@Geex Trix yes but I think display flex for these items would be enough, not inline-flex. Or not?
@dcode-software
@dcode-software 3 жыл бұрын
Flex is enough but span tags are inline by default so using inline-flex is closer to default then flex
@Barresider
@Barresider 3 жыл бұрын
@@dcode-software Oh yes thats right, thanks! Btw. Great video!
@Micychalek
@Micychalek 2 жыл бұрын
Bro, I have a question. How do I make the button working, like you click it and it brings to a link you put in the code?
@winartlk4894
@winartlk4894 Жыл бұрын
thanks bro
@farshidkaviyani692
@farshidkaviyani692 2 жыл бұрын
veri good
@exlerindia8108
@exlerindia8108 2 жыл бұрын
Awesome sir. +1 subscriber Congrats. How to hyperlink the button how link that button.
@BodhisatwaSinha
@BodhisatwaSinha 2 жыл бұрын
thankssssss
@kitt3521
@kitt3521 Жыл бұрын
How do you get it to save though? I had a functioning button that allowed users to download their image from the page, but now that I styled it, I can't get it to work anymore.
@elmetiu
@elmetiu Жыл бұрын
What font are you using in visual studio code?
@sunman.official
@sunman.official 3 жыл бұрын
Keep up the good job💙
@dcode-software
@dcode-software 3 жыл бұрын
Thanks mate
@joshman844
@joshman844 Жыл бұрын
How would i add the installation to an already made JS file i have linked to the html?
@whitebear224
@whitebear224 3 жыл бұрын
Thank you! These look awesome.
@dcode-software
@dcode-software 3 жыл бұрын
You're welcome 🙂
@whyisthiscodenotworking
@whyisthiscodenotworking 3 жыл бұрын
@@dcode-software Your tuts are awesome Don't stop
@rangabharath4253
@rangabharath4253 3 жыл бұрын
awesome as always :-)
@dcode-software
@dcode-software 3 жыл бұрын
Thanks again
@kylenault9295
@kylenault9295 2 жыл бұрын
How do I add a link to this button?
@anangfirmansyah6488
@anangfirmansyah6488 Жыл бұрын
what font you using in visual studio?
@MaksymMinenko
@MaksymMinenko 3 жыл бұрын
That's the way to go!
@iustincobuz561
@iustincobuz561 Жыл бұрын
what if I make a button appear in the document with .createElement under certain conditions how could I incorporate that image for the button since the button element will appear rather than be built in the html doc in the first place?
@mdjuberpaid1
@mdjuberpaid1 3 жыл бұрын
Sir you describes well
@dcode-software
@dcode-software 3 жыл бұрын
I appreciate that, thanks!
@BadDevil
@BadDevil Жыл бұрын
Brother, how can I put a link in it or how can I make it responsive?
@CoolCoder_
@CoolCoder_ Жыл бұрын
wrap the button in an anchor tag and hyper refrence what you want
@GREAT_FOODS_
@GREAT_FOODS_ Жыл бұрын
how to put link in button plz know me...
@axpect.
@axpect. 2 жыл бұрын
How to add hyperlink to this button
@ifourstudio3432
@ifourstudio3432 2 жыл бұрын
how to add site link to this button?
@KostaTsourdalakis
@KostaTsourdalakis 3 жыл бұрын
GOAT
@dcode-software
@dcode-software 3 жыл бұрын
🐐
@Sandeep0917
@Sandeep0917 Жыл бұрын
I am getting error.. can u please help me out
@nikhilmwarrier7948
@nikhilmwarrier7948 3 жыл бұрын
Cool!
@swoorp
@swoorp 3 жыл бұрын
How to do you make the chrome tab width smaller???🧐
@nikhilmwarrier7948
@nikhilmwarrier7948 3 жыл бұрын
Right-click -> pin tab
@swoorp
@swoorp 3 жыл бұрын
@@nikhilmwarrier7948 oh thanks! i got it now 😂
@arkinsantos5737
@arkinsantos5737 2 жыл бұрын
WHERE DA RESET BUTTON
@zawadahmed9111
@zawadahmed9111 3 жыл бұрын
What is the name of your Vs code theme?
@dcode-software
@dcode-software 3 жыл бұрын
I use my own theme which I created, it's called "dcode"
@dhpshow9277
@dhpshow9277 2 жыл бұрын
it dont help that the button dont do nothin -_-
@groovebird812
@groovebird812 3 жыл бұрын
Why using so much code and not only the button tag? You can simply use pseudo elements for this.
@samettopal0
@samettopal0 3 жыл бұрын
sa
@yiwang3185
@yiwang3185 Жыл бұрын
ddff
@harpermartin7813
@harpermartin7813 2 жыл бұрын
Jesus Christ loves you!
@jalalejlali1640
@jalalejlali1640 2 жыл бұрын
I think you are Iranian guy?or may be your face look like us hahahahahaha
@dcode-software
@dcode-software 2 жыл бұрын
Almost. I have an Italian background
@MsCellobass
@MsCellobass Жыл бұрын
are you kidding me??!! you can create a good looking button with just a couple of lines with inline styling! and adding an icon shouldnt have to be that elaborate!
@mdjuberpaid1
@mdjuberpaid1 3 жыл бұрын
Are you indian
@nikhilmwarrier7948
@nikhilmwarrier7948 3 жыл бұрын
Australian
@CreativSock
@CreativSock 2 ай бұрын
@@nikhilmwarrier7948 with itallian background
@errinwright
@errinwright 2 жыл бұрын
This code does not work, video not valid
@thengakola6217
@thengakola6217 3 жыл бұрын
still on light theme? 👎
@madugulahariprasad672
@madugulahariprasad672 2 жыл бұрын
Bro how can I contact you
10 CSS Pro Tips - Code this, NOT that!
9:39
Fireship
Рет қаралды 2,1 МЛН
Learn CSS icons in 8 minutes! 🐤
8:33
Bro Code
Рет қаралды 24 М.
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 9 МЛН
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 1,2 МЛН
How to bring sweets anywhere 😋🍰🍫
00:32
TooTool
Рет қаралды 45 МЛН
When Steve And His Dog Don'T Give Away To Each Other 😂️
00:21
BigSchool
Рет қаралды 17 МЛН
Linear Regression
1:08:00
swahili ICT tutorials
Рет қаралды 4
How to put an HTML website online (on the Internet)
29:37
SuperSimpleDev
Рет қаралды 1,5 МЛН
Background images with HTML & CSS
20:19
Kevin Powell
Рет қаралды 346 М.
Buttons With Awesome Hover Effects Using Only HTML & CSS
5:48
How To Make Drop Down Menu Using HTML And CSS | HTML Website Tutorials
21:24
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 9 МЛН