HomeОбразованиеRelated VideosMore From: whatsdev

Learn CSS #2: The difference between ID and Class Selectors

221 ratings | 10917 views
► Enroll in the FREE course by visiting WWW.WHATSDEV.COM for the complete course materials and resources. ► After the HTML & CSS course, we will be building a portfolio website which looks something like this. ★★★ http://bit.ly/2kn5aZL ★★★ I remember the first time scratching my head when I first learned about IDs and Classes long time ago. To start applying different CSS styles to different elements and start building a complex webpage design, we first need to get ourselves familiar with what the difference between a class and an id is in CSS. A class can be applied to many html elements whereas an ID can only be applied to one element! https://www.youtube.com/watch?v=B1URDgh_DIo&feature=youtu.be
Html code for embedding videos on your blog
Text Comments (29)
milenna87 (11 days ago)
11:40 minutes and you took away my whole confusion. Thanks a lot! You really know how to explain things.
Jefferson Rodrigues (2 months ago)
This box is not pretty but i liked the video, thanks.
Ridwaan Ibrahim (3 months ago)
really help full
Ezio Auditore Da Firenze (4 months ago)
conjested :D
C H (5 months ago)
Awesome channel! very clear explanations! Which editor are you using? I use sublimetext but I don't find t handy
Garrett Blackard (6 months ago)
It's the same goddamn thing lololol that's literally what I said
ahmed rashad (7 months ago)
could somebody tell what is that text editor ?
Katka Pavlíková (2 months ago)
Atom ;)
AmenoKoyane (8 months ago)
Ha not gay
Wonky Pumpkin (8 months ago)
Thank you! I think I may have finally cracked the difference between using id's and classes... However, I still can't say 'specificity'... :(
3030 (8 months ago)
whats the color app you used?
Naveen Sharma (9 months ago)
awesome video I must say... I have one question for you as you have said in the video that we have to use id for a unique element and id name also have to be different but you have given id to your all div's and also have given the same name too, please explain this to me? and hey one video request for you please make a video on CSS units, a long and detailed video ........
Stephan Romans (9 months ago)
Lol your unique and genuine style of getting me to subscribe worked
Husam Sameer (10 months ago)
amazing help, explained html and css much better than my teacher
Vinh Le (11 months ago)
Can you help with why i can't display css? HTML displays on browser fine. Not sure why they're not connecting
Enggar Avicenna (11 months ago)
Really help me as a beginner, thankyou very much!
Miki Digital (1 year ago)
Thank you man! These are really helping me out!
Logan Reedy (1 year ago)
Sorry if this is a dumb question, but I'm new to the web development world. What software is that you're using?
whatsdev (1 year ago)
Hey no worries! It's a text editor called ATOM. It's free. Go to atom.io :)
KELLY MADDEN (1 year ago)
Thank you for all your AWESOME vids!!!
B Plancher (1 year ago)
great channel this helped me a lot, thanks man. *subscribed!*
whatsdev (1 year ago)
You're welcome! Thanks!
adel baghlanian (1 year ago)
thanks that was very useful ,keep coding
Maxime Dufresne (1 year ago)
I hope the audio gets better as the series continues. Either way the content is 10/10
Don Mo'ayad (1 year ago)
There is a background noise that is annoying. However, nice explanation. It's actually enjoyable to watch the video very clear and intriguing video.
whatsdev (1 year ago)
Oh man! I suck. I thought my audio was so good lol. Can you tell me what you didn't like about the audio? Was it too loud or quiet? Or some other reason? And I'm glad you like the content! I've been lazy for the past two months but I'm planning on making more videos very soon.
Shahidul Islam (1 year ago)
Dear Sir, has our HTML course ended?
Shahidul Islam (1 year ago)
whatsdev Thank you for the information.
whatsdev (1 year ago)
Hey Shahidul, that's correct. The HTML course is finished. You can check out the full course on my channel. Also, look forward to a project series where I teach how to build a website from scratch with html and css.

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.