Use Emmet to up your HTML game

  Рет қаралды 67,726

Kevin Powell

Kevin Powell

Күн бұрын

Пікірлер: 228
@greenonionsalad
@greenonionsalad 3 жыл бұрын
One more thing to add which is one of my favourites is adding a $ which increments each item by 1. For example, ".colors$*5" will give you 5 divs each with their own classname (color1, color2, color3, color4, color5)
@glory_av
@glory_av 2 жыл бұрын
This is in the cheatsheet👍
@MoHafiz71
@MoHafiz71 Жыл бұрын
So nice too, great 👌
@CaioMGA
@CaioMGA Жыл бұрын
that's nice
@dysania1832
@dysania1832 5 ай бұрын
oh you meant (colors1, colors2, colors3, colors4, colors5)?
@mirshahbazali2727
@mirshahbazali2727 3 жыл бұрын
You can also do ul>li*3>a[text here] To add filler text
@oxyaego4594
@oxyaego4594 3 жыл бұрын
Didn't know this one! Thank you
@utkarshagrawal3640
@utkarshagrawal3640 3 жыл бұрын
Wrong u have to use curly braces for inner text!
@PaulMcCannWebBuilder
@PaulMcCannWebBuilder 3 жыл бұрын
Square brackets give you attributes, curlies give you text content, and you don't need the li, since emmet knows what goes in a ul. ul>.item$*3>a[href=#]{text here} gives you li's with numbered class names, placeholders for link urls and text inside.
@EyeIn_The_Sky
@EyeIn_The_Sky 3 жыл бұрын
@@PaulMcCannWebBuilder Nice one, thanks!
@hjetwd
@hjetwd 3 жыл бұрын
a[text here] - a[attribute="value"]{text} - text li*3>a[href="#$" title="its $ link"]{$} - 1 2 3
@skillzorskillsson8228
@skillzorskillsson8228 3 жыл бұрын
One thing that i like about emmet is that i may have a wrapper div and inside that div i make a nav like .wrapper>nav>ul>li*5>a but then below the nav tag i may want to have a div.container and inside that i may want a div.content. I can use parentheses like this .wrapper>(nav>ul>li*5>a)+.container>.content>img*5 so that is even more advanced but it is so useful. I love emmet
@skillzorskillsson8228
@skillzorskillsson8228 3 жыл бұрын
i also really love that it works for css so i can just write bg and hit tab and it completes it and make background #000; for me. Or i can do pos:abs and hit tab and it makes position:absolute; or i can write w for width or h for height and so on
@skillzorskillsson8228
@skillzorskillsson8228 3 жыл бұрын
Btw, if someone just wants to try emmet before downloading it, you can try on codepen. They have emmet implemented already :)
@metalfacemartinez
@metalfacemartinez 3 жыл бұрын
I LOVE Emmet. It cuts down on the tedium of hand writing HTML. Imagine using it with voice recognition. Now you're the programmer of the future, baby.
@JannisAdmek
@JannisAdmek 3 жыл бұрын
sounds really awesome but tbh I feel to lazy to talk abd rather type :D
@sicfxmusic
@sicfxmusic 3 жыл бұрын
Imagine a person beside you in the office or a coffee shop constantly talking to his computer 😋 and occasionally yells at it 😂
@marcelino-dev
@marcelino-dev 3 жыл бұрын
I have been using Emmet for a long while without knowing that I could just hit the Tab button to move inside the elements. You just taught me something really valuable. Thank you!
@Wukwuk21
@Wukwuk21 3 жыл бұрын
I learn web development for 3 years in Vocational High School, and never ever my teacher teach me this at ALL, and I wonder why I'm so serious about school lessons/projects while I can learn better on youtube. imagine having a teacher like you in my school, probably could launch my own website company with 3 years of your teaching. Thank you so much, u might be my dad on my web dev journey! xD
@MrJbramirez
@MrJbramirez 3 жыл бұрын
this channel is gold. you deserve a long life kevin!
@marcotronic
@marcotronic 3 жыл бұрын
Great! Didn't know about emmet at all :) To those who are also wondering (like me) why it doesn't work out of the box... You don't have to install any plugin/extension. Just make sure you save your empty file as HTML file first - then it's working ;)
@taipham6799
@taipham6799 3 жыл бұрын
My friends have been recommended to your channel, so I really grateful for that.
@karinarodriguez2055
@karinarodriguez2055 3 жыл бұрын
I don't get tired of saying that you're AMAZING! Thank you!
@seggremalac
@seggremalac 3 жыл бұрын
Hi Kevin, First of all thank your for this video. I'm new with VSCode and it will help me a lot. I really admire your knowledge and love your calm and relaxing presentation style. I started one of your courses on Scrimba and that's brilliant too. I know a lot of the topic but my knowledge is outdated. You fill up the missing parts and help putting it together. Thank you!
@PaulMcCannWebBuilder
@PaulMcCannWebBuilder 3 жыл бұрын
Emmet has other 'implicit' tag completions too. div>.classname will give you a child div but a>.classname will give you a span (since a is inline, only inline elements should go inside it). ul>.classname gives you a li, and table tags build themselves. Something like: table>.row$*4>.first+[colspan=2] gives you all the proper nested html.
@KevinPowell
@KevinPowell 3 жыл бұрын
Oh, that's a great point Paul! I forgot about that to be honest, I always write span when I need one. Something for part 2!
@RameenFallschirmjager
@RameenFallschirmjager 3 жыл бұрын
Nice refresher.
@StephenMoreira
@StephenMoreira 3 жыл бұрын
Life changing. Something I always knew of but always ignored. Thanks.
@SerilaBuck
@SerilaBuck 3 жыл бұрын
One of the usefull thing I set up in Vscode is the "editor.emmet.action.wrapWithAbbreviation"keyboard shortcut , so I can make a selection, or multi selection or place the cursor wherever I want(even in non html files), hit the shortcut, and wrap or insert my emmet generated html in place.
@KevinPowell
@KevinPowell 3 жыл бұрын
Yup, wrap with Emmet Abbreviation is the best :D
@godmansarah
@godmansarah 3 жыл бұрын
Yes, I saw Kevin using this in a video, and added my own shortcut key for it also. Love it!
@Pfoffie
@Pfoffie 3 жыл бұрын
When I learned about emmet some years back… I have never been the same again.
@mohan9285
@mohan9285 3 жыл бұрын
Amazing "Kevin" and "Emmet", I love you both.
@mikematenkosky
@mikematenkosky 3 жыл бұрын
Kept forgetting about that Lorem Ipsum "trick". I'm just a "hobby web designer", so I always learn something from you. Thank you and keep up the good work!
@donaldabanoub6382
@donaldabanoub6382 3 жыл бұрын
H$[Heading $]*6 This will create from h1 to h6 With text saying heading 1 till heading 6 , the $ sign count from 1 until desired number , this could be quite handy in some situations like classes or lists Ex Ul>li.list-item-$ *4
@robertodepasamonte3434
@robertodepasamonte3434 3 жыл бұрын
Thank you for these tips on Emmet -- definitely time savers. One request -- could you do a video on how to use snippets in VS Code. Would be great time saver to have HTML & CSS snippets for the (1) logo and right-aligned nav , (2) hero section with bg image with titles and buttons, (3) row with three or four column flexbox (&/or css grid) layout, and (4) four column footer layout using flexbox (&/or css grid).
@top10information25
@top10information25 2 жыл бұрын
I have been following you since I started learning programming, thumbs up!!!
@1337ghomri
@1337ghomri 3 жыл бұрын
My mind is blown! I have been coding HTML for 9 years, and I didn't know it could be this easy.
@adnanamin1843
@adnanamin1843 3 жыл бұрын
That GLASS looks cool, Kevin! :) Awesome tut!!
@98toxic1
@98toxic1 3 жыл бұрын
You can also name classes with numbers in order.. for example if you wanted etc... just type .container--$*2
@gbdaeye
@gbdaeye 3 жыл бұрын
I noticed how quick you were able to add the tags in one of your last videos, so this video is much appreciated! I tried typing 'html' after watching your sass video at the start of a VS file (without any extension loaded I know of) and it came up with the declaration. I have learnt so much from this new video. You are so cool. I am headed to your courses.
@digigoliath
@digigoliath 3 жыл бұрын
Awesome!!! TQVM!! Emmet makes programming fun.
@dhpcode
@dhpcode Жыл бұрын
That's very cool bro! Absolutely wonderful!!!
@tammywoks8997
@tammywoks8997 2 жыл бұрын
You are just brilliant Kevin
@sprtlife6261
@sprtlife6261 2 жыл бұрын
Dude, this was super valuable! Thanks!
@StrengthScholar0
@StrengthScholar0 3 жыл бұрын
MIND BLOWN... Thanks for the amazing content man!
@techslugz
@techslugz 3 жыл бұрын
Looks really powerful. I will def use this in the future when my html and css are more productive
@MelodicMethod
@MelodicMethod Жыл бұрын
I had the same reaction you did on the code gen. This is awesome.
@fionamorris8093
@fionamorris8093 3 жыл бұрын
Wish I could hit the like button more than once! Thank you for such clear and kind teaching!
@rohan1765
@rohan1765 3 жыл бұрын
Awesome , extremely helpful
@geoffreyguez
@geoffreyguez 3 жыл бұрын
perfect combo with Tabnine (AI auto completion extention) Nice video !
@esagecantu
@esagecantu 3 жыл бұрын
Love the video. It has what I needed since I am still working on my skills but time is the essence to get project done. Thank you.
@ofek15
@ofek15 3 жыл бұрын
Thank you Kevin, now I can make full website with one line of code
@rubensmailbag
@rubensmailbag 3 жыл бұрын
Kevin, you are the man, man.
@RealNaps
@RealNaps 3 жыл бұрын
Thanks for making me better at css
@abhijeetvishwakarmaa
@abhijeetvishwakarmaa 5 ай бұрын
As a beginner it's awesome to know this
@mariarodriguezva3606
@mariarodriguezva3606 4 ай бұрын
Dude! you rock! This is gold
@heyt0pe
@heyt0pe 3 жыл бұрын
Why am I just finding this out?!!!!🤩
@djshiva
@djshiva 2 жыл бұрын
Wow. This is so handy! Your videos are so fantastic. Thank you!
@hash5one600
@hash5one600 Жыл бұрын
I just love your videos, Kevin!! - Thank you for putting out such great, hight quality, content.
@romewithbuck3513
@romewithbuck3513 3 жыл бұрын
Awesome video!!!! Currently learning html5 /css/js. Save me so much time!!
@danjmillier
@danjmillier 3 жыл бұрын
Fantastic video, Kevin! Love using Emmet, it really saves time!
@hectorg362
@hectorg362 3 жыл бұрын
Wow. I really wished I knew this earlier. Thanks for this!
@anihe8892
@anihe8892 7 ай бұрын
WOW. Really great and will help a lot. Thank you very much for this video.😊😊😊
@axwax2
@axwax2 3 жыл бұрын
Thanks, this is super helpful, and getting a cheat sheet too is just the cherry on top!
@briancross4415
@briancross4415 3 жыл бұрын
Awesome video Kevin. Emmett is fantastic.
@BillWhammers
@BillWhammers 2 жыл бұрын
that was bloody amazing
@ABMA79
@ABMA79 3 жыл бұрын
it is an amazing and educative video. Thanks a lot for the wonderful tips. I would love you to make a series of designing a whole website from scratch. This way, we can follow along and learn the tricks necessary for us to keep in mind regarding design in general and also, learn some new tips about CSS and how to make our page responsive and control its responsiveness. If you can achieve that series, I will be in debt to you forever brother.. I think you are the best that has ever explained CSS, HTML, and bootstrap so far.
@frujunior67
@frujunior67 3 жыл бұрын
This makes you look like a pro 😎 Thanks 👍
@ViorelMocanu
@ViorelMocanu 3 жыл бұрын
Somehow this never caught on with me. I've known about emmet and used it occasionally since it appeared, but there's something about hand-crafting each and every HTML line by myself that really gets me thinking about structure, microformats/structured data, semantics, accessibility and ARIA properties and so on. It's somehow easier for me to write code manually, it's built into my workflow. And while this is rather suboptimal as far as speed goes, it just fits my obsessive-compulsive tendencies I think. :)
@voyagernz4172
@voyagernz4172 3 жыл бұрын
Keeping your cheatsheet behind a email newsletter aye... I see you know your Judo well! Subscribed 👍
@bradburyrobinson
@bradburyrobinson 3 жыл бұрын
Get your hands off my p-tags!
@yashkumarsinghpatwa9267
@yashkumarsinghpatwa9267 3 жыл бұрын
Really Amazing to learn all these shorthand tricks .....Thank you, sir ... Looking for more such tips and tricks
@ozzyfromspace
@ozzyfromspace 3 жыл бұрын
So, we all love Emmet. Anyone named their son that yet? 😂😂
@SRG-Learn
@SRG-Learn 3 жыл бұрын
Emmet Brown (I've look it up and the name really is Emmett. You can look how many in wikipedia en.wikipedia.org/wiki/Emmett_(name))
@ozzyfromspace
@ozzyfromspace 3 жыл бұрын
@@SRG-Learn you, sir or ma’am, are why I love the internet haha. Thanks 😊🙏🏽✨
@sicfxmusic
@sicfxmusic 3 жыл бұрын
Then you can just tell your kid to EF (or normal people would say Eat Food)
@hectorg362
@hectorg362 3 жыл бұрын
My college professor is named Emmet lol.
@Mast3rDesign
@Mast3rDesign 3 жыл бұрын
Hahah Its cool name btw
@thelittlenatureshow
@thelittlenatureshow 2 жыл бұрын
Fabulous. You are my hero!
@CodeSigmaStudios
@CodeSigmaStudios 3 жыл бұрын
you are a hero!!!!
@urssounds
@urssounds 3 жыл бұрын
Wow! That's super helpful!
@miku6701
@miku6701 3 жыл бұрын
Yes, I learnt something new today.😊
@zafaris
@zafaris 3 жыл бұрын
Great video Kevin! I'm sure this video will save hours of my time, as well as many other people's time. Thanks! 🤩👍🏽
@theresco2961
@theresco2961 3 жыл бұрын
Very interesting and easy to follow , thank you ❤️❤️
@animefanboy842
@animefanboy842 3 жыл бұрын
lol first time in history i know this all lmao
@chrisbenjamin3072
@chrisbenjamin3072 3 жыл бұрын
Thank you for this video!
@InfinitelyScrolling
@InfinitelyScrolling 3 жыл бұрын
So cool, so handy, I love this so much.
@onestepwebdev
@onestepwebdev 3 жыл бұрын
Thanks Kevin, very helpful
@coderkushal
@coderkushal 3 жыл бұрын
Thank you so much for this video, This is super helpful!
@lunaya9
@lunaya9 3 жыл бұрын
WOW!! Thank you!! This is awesome ! SOOOOOOO FAST!!!
@YoungDen
@YoungDen 3 жыл бұрын
Gonna try this on Brackets
@StoryTeller8692
@StoryTeller8692 Жыл бұрын
I think you might have just changed my life. Mostly the life of my shift-finger. How did I not know this.
@Dexter101x
@Dexter101x 3 жыл бұрын
Lorem*15 is fifteen paragraphs of Lorem ipsum 😂😂😂🚀🚀
@1230124
@1230124 3 жыл бұрын
Very useful video~!!!! so clear and help me a lot thanks you!
@LearnWithSazzad
@LearnWithSazzad 3 жыл бұрын
awesome video. thanks man. you are amazing
@idsign4uar843
@idsign4uar843 3 жыл бұрын
Hi Kevin: I'm not sure if this is part of Emmet or not, but at 05:37, as your cursor is between the "", you can press the left "Alt" key (not the "Alt Gr" that's on the right) and hold the mouse button while dragging down, which lets you enter text in all those lines at the same time (in this case, you can put the # used as a placeholder while developing a website). Oh, don't forget to press the "Esc" key once finished to go back to normal. Hope that helps. Thanks & greets from Argentina (Hope it is from England someday) IDsign4U (Marcelo Miguel Bazan)
@KevinPowell
@KevinPowell 3 жыл бұрын
Yes, that's a great way to speed things up even more :D
@juanignacio4208
@juanignacio4208 Жыл бұрын
How did it go?
@Parthivi56
@Parthivi56 3 жыл бұрын
Mind blown!! WOW!!!
@Elliot7676
@Elliot7676 3 жыл бұрын
Kevin You'r a saviour :) thankx
@RameenFallschirmjager
@RameenFallschirmjager 3 жыл бұрын
I was watching this while I had a huge smile on my face. My roommate asked me what I'm watching that made me so amused. I showed the video to her, and then she took a step away from me with a frightened look on her face! Not everyone is a nerd!😂
@KevinPowell
@KevinPowell 3 жыл бұрын
😂😂😂
@gruanger
@gruanger 3 жыл бұрын
Thank you!
@Felisha1976
@Felisha1976 3 ай бұрын
Thx! Really useful!
@hankbrown8421
@hankbrown8421 3 жыл бұрын
U saved me so much time ty
@aniketbhalla1521
@aniketbhalla1521 3 жыл бұрын
That's awesome ☺️👌. I got to learn about making siblings in this. Thanks sir.💯
@blonduose
@blonduose 3 жыл бұрын
wow that Lorem thing got me....how many times did i google lorem ipsum :D the other ones I already knew thanks to you :D
@CharlesSmall
@CharlesSmall 3 жыл бұрын
You are the king
@frugodwill
@frugodwill 2 жыл бұрын
Is there no west go going into and element and doing some stuff and coming back out of the container to do some more stuff? Eg. H1>lorem5lorem20? Where < is coming back out of the h1 element
@minzcode
@minzcode 3 жыл бұрын
Great video. Very helpful. 😉
@MoElkomy
@MoElkomy 3 жыл бұрын
Thank You so much You are Great
@sebastianurbaniec9225
@sebastianurbaniec9225 3 жыл бұрын
I'm using also script:src and input:number. Very handy
@masoodkhanpatel
@masoodkhanpatel 3 жыл бұрын
this is sooo awesome!
@JanCabanik
@JanCabanik 3 жыл бұрын
Cool. I love your videos. Thx
@JohnBortins
@JohnBortins 3 жыл бұрын
Outstanding!
@RoyerAdames
@RoyerAdames 3 жыл бұрын
Thank you
@victor25021983
@victor25021983 Жыл бұрын
tq . we will rewind yiur video few time to understand more
@erikbrewer3161
@erikbrewer3161 3 жыл бұрын
That was awesome
@JigneshPosarekar
@JigneshPosarekar 3 жыл бұрын
You're the best sir 😇👍🏻
@nourpubg-184
@nourpubg-184 3 жыл бұрын
its amazing kevin keeeeeeeeeeeeep going
@27sosite73
@27sosite73 11 ай бұрын
thank you
@rudyNok
@rudyNok 3 жыл бұрын
I understand that we can go a level deeper with >. Is it possible to go level up? Let's say I do : .section>ul>li*5 and then I want to go back up and continue? Something like .section>ul>li*5
@moonlightmelody5527
@moonlightmelody5527 2 жыл бұрын
Amazing!
@CaioMGA
@CaioMGA Жыл бұрын
this is magic
A better image reset for your CSS
11:16
Kevin Powell
Рет қаралды 113 М.
Avoid These 5 Awful CSS Mistakes
20:42
Kevin Powell
Рет қаралды 196 М.
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Learn Emmet In 15 Minutes - Double Your HTML Coding Speed
15:27
Web Dev Simplified
Рет қаралды 222 М.
Vim in 100 Seconds
11:53
Fireship
Рет қаралды 1,1 МЛН
A new approach to container and wrapper classes
25:27
Kevin Powell
Рет қаралды 266 М.
You can do that with margins?
14:40
Kevin Powell
Рет қаралды 188 М.
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 233 М.
The only tags you need when first learning HTML
17:07
Kevin Powell
Рет қаралды 53 М.
5 CSS mistakes that I see way too often
19:03
Kevin Powell
Рет қаралды 360 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 672 М.
DRM explained - How Netflix prevents you from downloading videos?
18:17
Mehul - Codedamn
Рет қаралды 206 М.
My top 5 most popular front-end tips
22:07
Kevin Powell
Рет қаралды 56 М.