Guys, believe me it's awesome.. matlb all selectors ek property me. Plz share with your friends and classmates too ☺️
@kamalsharma28394 жыл бұрын
Sir, 2n-1 is correct representation of odd numbers starting from 1. 2n+1 starts counting of odd numbers from 3 and loops end at 11th because total no. of loops or n is set as 5 after 2n loop (as list is total of 10 items and styling must have been already applied to tenth also in 2n loop, provided no other pseudo loops are after like 2n+1 we had). System now unable to understand whose rule to apply for 10th 2n for being even or 2n+1 ending the loop after 2n+1 for odd rule is applied for styling. So, it would have been better put the equation as 2n-1 which is correct representation of odd numbers starting from 1. Most likely , this will solve the problem. Also, now 2n-1 elements must be declared first in css and then 2n as first odd number 1 comes before first even no. 2. It will appropriately solve 10th no. not getting proper styling problem. There are though several other ways too to solve, like adding an extra and make it 11 instead of 10th.
@usamahansari67954 жыл бұрын
Bhai thanku so much ♥️ mujhe yeh nhi ata tha master series bhott achi banayi hai aapne once again thanku so much
@priyanshusaini62993 жыл бұрын
11:35 li:nth-child(10n){ }
@akshatgarg62494 жыл бұрын
You're are my teacher You're are god You're are my beloved....
@mywebsite65243 жыл бұрын
nth-last-child(1) pseudo class to catch the last element And your teaching style awesome From Bangladesh
@mr_virani63074 жыл бұрын
apkse video main se daily kuch naya sikhne ko milta hai thanks thapa technical like and share kijiye is video
@kurma3992 Жыл бұрын
I don't know why iss video pe itna kam like-comments hai. Even it's most satisfactory video and having helthy content with lovely explanation Love you bro😍
This method of thenth child highLight using nth-child Property li:nth-child(2n+10){ color: red; } And Thank You 👍 For This Video.
@krishna.vineet Жыл бұрын
Bro, we can go 10n directly But I think is problem me hame ye assume krna h ki "we don't know how many childs there are".. Baki agar pta h to 10n is straight forward easy
@tileshwaripatel2190 Жыл бұрын
its really amazing...your way of explanation is very good😊.. .thank you sir....
@kamalsharma28394 жыл бұрын
Sir, 2n-1 is correct representation of odd numbers starting from 1. 2n+1 starts counting of odd numbers from 3 and loops end at 11th because total no. of loops or n is set as 5 after 2n loop (as list is total of 10 items and styling must have been already applied to tenth also in 2n loop, provided no other pseudo loops are after like 2n+1 we had). System now unable to understand whose rule to apply for 10th 2n for being even or 2n+1 ending the loop after 2n+1 for odd rule is applied for styling. So, it would have been better put the equation as 2n-1 which is correct representation of odd numbers starting from 1. Most likely , this will solve the problem. Also, now 2n-1 elements must be declared first in css and then 2n as first odd number 1 comes before first even no. 2. It will appropriately solve 10th no. not getting proper styling problem. There are though several other ways too to solve, like adding an extra and make it 11 instead of 10th.
@krishna.vineet Жыл бұрын
Bro, logic is correct if n is natural number. Here n is whole number, starting from 0 So first odd will be 2n+1 i.e. 1 2n-1 will be -1, ispr alag alag browser alag alag react krenge
@DEEPANSHU_NAG4 жыл бұрын
Thanks 🙏🏻 for today's video sanday ka video ka wait kr rhe h is series ko continue kre ....
@RajPhotoEditingMuchMore3 жыл бұрын
Nice sir 👍 Thanks
@kaushikasutar4 жыл бұрын
Yes it was helpful me and my friends......
@munnikhanam1113 жыл бұрын
You are awesome 🤩🤩🤩
@creativeakshara84384 жыл бұрын
Sir you are great 👌😊
@aryamaurya15334 жыл бұрын
Your video is always awsome👌👌
@AnuragRawat018 ай бұрын
🎉🎉🎉🎉
@kirann6714 жыл бұрын
AWESOME ❤️
@abhi34776 Жыл бұрын
bhai tussi great ho
@mdmahmudulhasan64483 жыл бұрын
thank you for nice explanation
@ZeshanMukhtar12 жыл бұрын
Awesome
@ramanrocks16942 жыл бұрын
Thapa bhai, if we have a dynamic list and we want to style only last 5, how can we do using pseudo classes
@vivek50193 жыл бұрын
Good bro👍.
@programmingwithjavascript35794 жыл бұрын
Nice video
@ashharmansuri68164 жыл бұрын
Ki:nth-child(10){ Color: orange; }
@itcollage89874 жыл бұрын
Thanks your for your efforts
@akankshagarg54004 жыл бұрын
Awesome sir.. sir your all tutorial vedios are amazing. Thanks you sir.. Sir main ek courier company me work kr rahi hun par usme muje track id add krna hai.. usko kaise add krun.. location kaise bta chalegi.. coding?? Please sir guide me
@arvind67711 ай бұрын
Thankyou sir
@loopimpact3 жыл бұрын
great
@sasta_youtuberrr2 жыл бұрын
sir 1,3,6,10,15 is series mai nth-child kese use karenge
@ankitabharuka19454 жыл бұрын
Please tell which is that website from where you take colors
Bro I seen your many videos. Nice efforts.Your way of teaching is very good. Can you make one video a comparison between flex box, display -inline block, grid , float: left . Which one is best to use. Or any like. No such comparison done by any youtuber. And newbies get confused in that. That may be one of the most watched video possible. Think if you feel fit then make such video.
@saurabhbhaskar79644 жыл бұрын
How to apply color to middle child without JS for dynamic number of elements?
@RajeshKumar-ee7by4 жыл бұрын
9n+1 is for last
@yatharthsingh49973 жыл бұрын
Nth-child (2n + 10) { Color: red; }
@nayanraval53594 жыл бұрын
Great 😊👍
@AlanSchooll3 жыл бұрын
li:nth-child(odd) li:nth-child(even)
@anamikamishra21524 жыл бұрын
Thankuuuuu
@khushibatra35313 жыл бұрын
Nth-last-child(1) se last ka color change ho jayega
@MomolandQueen4 жыл бұрын
Sir aap jo code run karate ho uska PDF de diya kariye bahut achha rahega
@levelxgamingyt4 жыл бұрын
Super bro
@johnthapa18794 жыл бұрын
Thank you so much ☺️
@shaikshamshunnissa72343 жыл бұрын
11:38 sir mujhe para hai nth child likna hai phir last of type
@kinjalgala82144 жыл бұрын
Can you make a video on prototypal inheritance
@sunzarzar60593 жыл бұрын
hello sir can you make a series of html css projects?like 10 or 20 videos together by creating paylist?
@shivomchauhan4 жыл бұрын
Sunday kab he aur kitna wait karna padega
@madhusudanmandal29884 жыл бұрын
li:Last-childi{color:skyblue;}
@kiranmali42284 жыл бұрын
Thapa sir, you are rocking. really helpful all the tutorials. I wish your all wishes complete. One question: Could you please tell me which software are you using for your video editing???
@ditinagrawal31824 жыл бұрын
Filmora
@sudippatil76723 жыл бұрын
It can be 2n+3 for odd elements without first.
@ikrammohammad854 жыл бұрын
Thanks, Very useful video sir, i have request please create video on bitbucket with and how to host website on bitbucket
@pritamchakraborty44074 жыл бұрын
1st comment
@asnpatil4 жыл бұрын
Nice
@SafarwithAarush4 жыл бұрын
Thanks for these awesome tutorials. Make a tutorial on - How to make a slider.
@ikrammohammad854 жыл бұрын
i want to learn ES6, i watched all your video, please sir guide kro kahan se start kro, mujeh basic se start karna hai
@PiyushKumar-ds2pz4 жыл бұрын
🥰
@umairjon73892 жыл бұрын
App k sawal ka jawab hai 11:05 li:nth-last-child(1){ color: #0a3d62;} This meaning is backward counting
@suvendupaul6443 жыл бұрын
Using :nth-last-child(2) you can select last child element of parent
@siam74823 жыл бұрын
Not working
@sahibdadsakhizada55633 жыл бұрын
with the help of 10n we can change the line of tenth
@parthlangaliya45224 жыл бұрын
hey bro please make Restaurant Website using html css and react or bootstrap .
@jeeveshdev2044 жыл бұрын
2n-1 chalega
@24manojp3 жыл бұрын
Hi, Consider below code, Div 1 Div 2 Div 3 Div 4 Div 5 How to select 2nd div under parentDiv??