No video

How to create and style lists with HTML and CSS

  Рет қаралды 26,596

Kevin Powell

Kevin Powell

Күн бұрын

Пікірлер: 55
@westonjp612
@westonjp612 10 ай бұрын
Honestly, I learned way more from you Kevin than I learned in school. Love your videos. Thats pretty cool that you still help out the beginner users. You are an excellent teacher. I would love to see some JavaScript videos.
@JunieVM
@JunieVM 10 ай бұрын
Kevin thank you, I'm already 48 years old studying IT after beings in Electronics field for almost 28 years. Your video helps me a lot to understand what I didn't get from the school. I'm very grateful that I learned so much from you.
@web-projektmanager
@web-projektmanager 10 ай бұрын
nothing new for me, but its really great that you're going into this basic things. thank you!
@jennyvanessaquintocordobaq8439
@jennyvanessaquintocordobaq8439 10 ай бұрын
Hi Kevin, for a while I've wanted to thank you, since I followed you I've improved a lot my css skills and, definitively I don't feel frustrated with css anymore. So thank you so much for your daily work, videos, and commitment. (My English is enhanced as well all thanks to you). Jenny Q Colombia
@badcatdesign
@badcatdesign 10 ай бұрын
Thanks! Other interesting list attribute tricks are using ```reversed``` and ```start="5"``` on the `````` for countdowns etc.
@crunchya2153
@crunchya2153 10 ай бұрын
Sincerely, some things were new for me, even though i work with lists everyday, thanks a lot for the tips and continue the great work
@NewRhodeshia
@NewRhodeshia 10 ай бұрын
Thanks Kevin ,I whole heartedly appreciate what you do.
@diegognoatto8706
@diegognoatto8706 10 ай бұрын
i didnt know i could zoom in the dev tools, thats life saving for my workflow, tks
@RichardCalder67
@RichardCalder67 10 ай бұрын
For the record I have been doing web dev since the days of HotDog HTML editor lol, some of us watch all your stuff. Also the comment about dev tools, reminded me of what a game changer Firebug was!
@iwpsurf
@iwpsurf 10 ай бұрын
Awesome tutorial! Your examples are clear and concise. Thanks for sharing your knowledge.
@pysco11
@pysco11 2 ай бұрын
Hey Kevin, you are wonderful in bringing up very small stuff that make a big difference! I like your recommendation to use "margin-bottom" instead of "line-height". that was indeed my mistake with the list I am currently working on. Merci beaucoup Kevin!
@DaMu24
@DaMu24 10 ай бұрын
An important tip for those who started with a high-level programming language before learning about HTML: HTML doesn't care about line breaks or indentation. Just tags, attributes and the DOM.
@MrOliver1444
@MrOliver1444 10 ай бұрын
Thank you the ::marker was what I needed for the css! Thank you for that
@Jarrod0067
@Jarrod0067 10 ай бұрын
Another thing to consider for new devs: margins on list items is one way of doing it, but consider: ul, ol { display: grid /* some rem amount */ grid-gap: 0.5rem } You could flex-column it too. The advent of gap allows you to ignore having a separate margin rule for the :last-child
@KevinPowell
@KevinPowell 10 ай бұрын
Yup, for sure! But I don't really like showing that if someone is *just* learning about how lists work, as they might not have got to grid yet and I don't want to add a new thing on top that margin will handle. But 100% a great solution.
@Pareshbpatel
@Pareshbpatel 10 ай бұрын
CSS: Styling Lists so clearly explained . Thanks , Kevin. {2023-10-10}, {2023-10-24}
@spaceyraygun
@spaceyraygun 10 ай бұрын
Wild, I had no idea got changed from "definition list" to "description list" in the HTML5 spec. I read it was changed for semantics, but repurposing an existing tag that was already packed with semantic meaning into one that is more general/generic seems silly to me. If you do make a video, I hope you touch on this evolution!
@KevinPowell
@KevinPowell 10 ай бұрын
I had to do multiple takes because I kept saying definition list, lol. They also made and "bring attention to" and "idiomatic text"... which I guess I get, but not sure it was needed tbh.
@AlThePal78
@AlThePal78 10 ай бұрын
I love your tutorials
@viniciosmello6889
@viniciosmello6889 10 ай бұрын
It's not new for me, but is always important remember what you study!
@rrd_webmania
@rrd_webmania 10 ай бұрын
I use dl quite often. So I hope you really gona make a video about it.
@saro976
@saro976 10 ай бұрын
can we use spaces inside the quotes of (content)?, like this for example: ul li::marker { content: "* "; } I tried it, and it worked
@erics2133
@erics2133 10 ай бұрын
Only loosely on topic, but I need to sure my boss never sees this. He's got a center fixation, but I don't think he's aware we could center lists.
@AbhinavKulshreshtha
@AbhinavKulshreshtha 10 ай бұрын
Just wondering, does the commonly used reset, *{m:0, p:0}, solves collapsing margin issue?
@clevermissfox
@clevermissfox 9 ай бұрын
It sets everything to 0 so you can add it back where you want it. However if you still added a margin bottom on your item eg h1 and a margin top on the item underneath eg h2 , they’ll still collapse (as long as they are not flex/grid items; then the margins no longer collapse)
@hoshi411
@hoshi411 10 ай бұрын
In 2023 lists should be used for actual lists and nav+menu should be used for navigation menus. No more ul for navigation. It's 2023 ,guys we have nav , menu and flex now.
@KevinPowell
@KevinPowell 10 ай бұрын
Menu shouldn't be used for navigations, but for actual menus. Plus, browsers see a menu as a anyway and the items in it should be list items. There are some arguments to just have a nav with links in it, but most accessibility experts say a list is best still
@badcatdesign
@badcatdesign 10 ай бұрын
@@KevinPowell Exactly :) plus nested lists for complex navs seems the way to go for hierarchy.
@Mr.userx9
@Mr.userx9 10 ай бұрын
hi thanks for this helpfull video i have a question how can i make my order list to start from like 100 because it normal starts from 1 to...thanks in advance
@KevinPowell
@KevinPowell 10 ай бұрын
😁
@EricFressange
@EricFressange 10 ай бұрын
Dose a nav with sub menu realy need to be an unordered list ?
@KevinPowell
@KevinPowell 10 ай бұрын
Considered best practice, yeah
@pintokatendejonathan1740
@pintokatendejonathan1740 10 ай бұрын
5' ago, i'm here
@KrishJr13
@KrishJr13 10 ай бұрын
Hi sir Is there any website to practice HTML & CSS with projects??
@vladislavivanov1546
@vladislavivanov1546 10 ай бұрын
make your own projects with them s the best you can do
@westonjp612
@westonjp612 10 ай бұрын
He's got a Scrimba course thats free.
@KrishJr13
@KrishJr13 10 ай бұрын
@@vladislavivanov1546 I'm trying 😀 but as a complete beginner its a bit difficult for me thats why
@KrishJr13
@KrishJr13 10 ай бұрын
@@westonjp612 will check thank you
@KevinPowell
@KevinPowell 10 ай бұрын
Frontend Mentor, iCodeThis, Frontend Practice, to name a few :)
@arunsaklani9890
@arunsaklani9890 10 ай бұрын
Sir complete frontend project plz
@KevinPowell
@KevinPowell 10 ай бұрын
I have a few bigger projects, but generally it's not what I focus on here
@arunsaklani9890
@arunsaklani9890 10 ай бұрын
@@KevinPowell sir can you tell me the GitHub link of those project plz
@sssssolar
@sssssolar 10 ай бұрын
And why don't you use autosave to save the project? Why do you need to use a third-party extension?
@KevinPowell
@KevinPowell 10 ай бұрын
The extension updates the browser when I save, so I don't have to refresh the page manually. There are many build tools that can do this too, but for beginners I find this the easiest way
@domanickharper
@domanickharper 10 ай бұрын
3 minutes ago? here I am
@Zkauba24
@Zkauba24 10 ай бұрын
@thereisnospoon22
@thereisnospoon22 10 ай бұрын
learn georgian it is one of the best languages
@shahinza
@shahinza 10 ай бұрын
Make shorter videos please
@KevinPowell
@KevinPowell 10 ай бұрын
I try to make them as long as I need to properly cover a topic, and for ones like this that means going in-depth. I do make a point of trying to occasionally have shorter ones though: kzbin.info/aero/PL4-IK0AVhVjNcjfYDQEseNxuarDjSEdZK
@420troll4
@420troll4 10 ай бұрын
*{box-sizing: border-box; margin: 0; padding: 0;}
Top 10 Advanced CSS Responsive Design Concepts You Should Know
20:16
Web Dev Simplified
Рет қаралды 518 М.
Zombie Boy Saved My Life 💚
00:29
Alan Chikin Chow
Рет қаралды 9 МЛН
Harley Quinn's desire to win!!!#Harley Quinn #joker
00:24
Harley Quinn with the Joker
Рет қаралды 16 МЛН
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 50 МЛН
Subgrid & Container Queries change how we can create layouts
21:08
Kevin Powell
Рет қаралды 74 М.
5 tips to getting better at CSS
14:14
Kevin Powell
Рет қаралды 31 М.
A new approach to container and wrapper classes
25:27
Kevin Powell
Рет қаралды 254 М.
What I do as an Email Developer
8:41
JasheleTechTV
Рет қаралды 37 М.
Learn CSS Positioning Quickly With A Real World Example
8:32
Slaying The Dragon
Рет қаралды 636 М.
Learn how to use Media queries & Container queries
34:33
Kevin Powell
Рет қаралды 64 М.
How to escape the container on only one side
28:48
Kevin Powell
Рет қаралды 48 М.
Псевдоэлементы CSS ::after и ::before. Объяснение на примерах
34:29
The Only Markdown Crash Course You Will Ever Need
22:16
Web Dev Simplified
Рет қаралды 86 М.
Zombie Boy Saved My Life 💚
00:29
Alan Chikin Chow
Рет қаралды 9 МЛН