Тёмный

Coder Coder challenged me to CSSBattle 

William Candillon
Подписаться 101 тыс.
Просмотров 549 тыс.
50% 1

Jess's channel: / thecodercoder
Wanna learn the fundamentals of declarative Gestures and Animations? Check out start-react-native.dev.
Chapters
0:00 Intro
1:36 Challenge 1
12:47 Challenge 2
21:11 Challenge 3

Наука

Опубликовано:

 

1 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 580   
@TheCoderCoder
@TheCoderCoder 3 года назад
Thanks so much for doing this collab! It was a ton of fun and I think made for an interesting video for others! 😁
@raphaelcardosos
@raphaelcardosos 3 года назад
Jessica, I realized that I thought of solutions that are the same / similar to yours... I think I watch a lot of your videos 😝💗
@ZaidIrfanKhan
@ZaidIrfanKhan 3 года назад
Wow, you were extraordinary.
@pbateman6775
@pbateman6775 3 года назад
Your approach was very enjoyable to view. I am relearning to code and would love to be as fluent coming up with minimal solutions like you do👌
@sumitsave8799
@sumitsave8799 3 года назад
Can we use background-clip property 😉
@tyrellwreleck4226
@tyrellwreleck4226 3 года назад
round 1, why are you using position:absolute ? its not stable when the viewport changes. Anyone's with me?
@halberliterpils
@halberliterpils 3 года назад
"I think this should work." Most common phrase used while writing css.
@cipherxen2
@cipherxen2 3 года назад
Or while writing any program.
@josephmbimbi
@josephmbimbi 3 года назад
@@cipherxen2 until you do tdd
@cipherxen2
@cipherxen2 3 года назад
@@josephmbimbi it applies in TDD too!
@josephmbimbi
@josephmbimbi 3 года назад
@@cipherxen2 to some extent yeah. I meant, you have more than an eyeball test and don't just push your code finger crossed ^^
@cipherxen2
@cipherxen2 3 года назад
@@josephmbimbi so, what's your point then?
@nobytes2
@nobytes2 3 года назад
William: I haven't done proper css in two years, proceeds to crush every challenge with css sorcery.
@artmosphereID
@artmosphereID 3 года назад
yea react native style sheet mostly like vanilla CSS in general
@severussin
@severussin 3 года назад
this is beautiful to see the difference in thought process and code structure. love it. more like this pls.
@AshutoshMishra
@AshutoshMishra 3 года назад
It is always a better practice to give border-radius:50%
@Joksky8
@Joksky8 3 года назад
Ofcourse it can try this -> borderRadius: '50%'
@thesodapoppanda8778
@thesodapoppanda8778 3 года назад
@@Joksky8 I can confirm this doesn't work in my version of react-native either using px is the only way.
@alexsivro9110
@alexsivro9110 3 года назад
@@thesodapoppanda8778 Dang react sucks lol
@samuelkundael3503
@samuelkundael3503 3 года назад
lol, border like shapes should be the basic of css, almost like kindergarten.
@i.t.starters2019
@i.t.starters2019 3 года назад
I love this especially to see you guys struggling a little bit like I always do. I think you boosted my confidence.
@fatihcandev
@fatihcandev 3 года назад
Fun to watch! I didn't know about this website. I'll certainly dive in.
@DMoots
@DMoots 3 года назад
There's an easy way to do the last challenge. It's just an illusion of having a centre section. 1. Make three circle divs all the same size, one peach, one red and one the same colour as the background. 2. Position the peach and red circles normally so they overlap. 3. Position the background coloured circle inside one of the other circles with overflow hidden and position it so it appears like it's just "peeking" into the other circle.
@rajeevranjansrivastava2473
@rajeevranjansrivastava2473 2 года назад
I have use almost same approach and within 5 min I have finish the last challenge with 100% and used 565 characters. 🙂
@ParrhesiaJoe
@ParrhesiaJoe 6 месяцев назад
body{ margin: 0; background: #09042A; } .circle { position: absolute; border-radius: 50%; aspect-ratio: 1; width: 150; } .c1 { background: #7B3F61; top: 75; left: 75; overflow: clip; } .c2 { background: #E78481; top: 75; left: 175 } .slice { background: #09042A; left: 100 }
@JohanLindskogen
@JohanLindskogen 3 года назад
Really fun to watch you guys solve the problems in your own way! I missed having some kind of follow up at the end where you went through each others’ solutions or maybe just commented quickly on each others’ performance.
@jpisello
@jpisello 3 года назад
I was hoping for that too. At least a comparison of their scores.
@SMMGOGO
@SMMGOGO 3 года назад
@@jpisello i think he actually kicked her ass so badly that it was embarrasing to show the final score were a non familiar css code dude beats the hell up of a css youtube guru.
@dukeeehhh2386
@dukeeehhh2386 3 года назад
I actually googled the last round, how to deal with the color at the circle's intersection, and I think it would have actually worked with propperty "mix-blend-mode: #(color-hex);". I was quite surprised it can be done wtih only one line of code :D
@yassirmadad9329
@yassirmadad9329 3 года назад
i did it by using circles one in the other with the overflow:hidden and z-index:1
@zinedinhadzajlija6225
@zinedinhadzajlija6225 3 года назад
Css really is sometimes like that. One line of code can do wonders
@velara314
@velara314 2 года назад
could maybe have done it with blend mode: difference or exclusion
@seancpp
@seancpp 3 года назад
The production value in these videos is top notch. Really good work.
@waleG_
@waleG_ 3 года назад
For a quick second, I wondered what Sean Evans knows about CSS and why he was being challenged.
@diwakardayal954
@diwakardayal954 3 года назад
Lol
@ravense8337
@ravense8337 3 года назад
Great video, hope you do these battles more in the future!
@zakariachahboun
@zakariachahboun 3 года назад
i really learned a lot from this battle! Thanks!
@DevelopingDadCodes
@DevelopingDadCodes 3 года назад
This was an awesome challenge!! I love to watch how other developers figure out problems.
@nitram_nosnibor
@nitram_nosnibor 3 года назад
Wow that last one was hard!!! I'm going to look into "clip-path" much more now. I love watching these as I have discovered you William, nice one and I have subscribed now - cheers
@thydevdom
@thydevdom 3 года назад
William took an interesting approach. Mine was almost exactly as Jessica’s. Great job guys!
@frontendgrowth4572
@frontendgrowth4572 3 года назад
Really fun to watch this battle. It is interesting to see how people think differently and solve the same problems differently.
@kushagragour
@kushagragour 3 года назад
Really cool! Thank you for doing this Jessica & William!
@tastes-like-straberries
@tastes-like-straberries 3 года назад
After watching this I joined CSS battle just for fun. I was totally unaware of this really cool platform! Make more videos like this please! It's fun watching people compete over stuff xd
@goldengiorno6890
@goldengiorno6890 3 года назад
the next one MUST be The Net Ninja, the lord of web development
@yannicknana
@yannicknana 3 года назад
Yes please !
@limitlesskode
@limitlesskode 3 года назад
Shaun is 💥 @The Net Ninja
@sainarasimha2451
@sainarasimha2451 3 года назад
Yes 🙏
@lakshyadhariwal5482
@lakshyadhariwal5482 3 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YujykR315HY.html
@othmanebejja3236
@othmanebejja3236 3 года назад
Shaun would make a replica of the CSSBATTLE website as a mistake
@kevinkkirimii
@kevinkkirimii 3 года назад
I am not a web developer but I really appreciate how each of you had different thought processes and showing the power CSS.
@AjaySingh-xd4nz
@AjaySingh-xd4nz 3 года назад
css indeed demands not just your knowledge but creativity too! well done both of you!
@sandinosaso
@sandinosaso 3 года назад
The clip-path trick makes my day :). It is great to see how 2 people resolve the same problem, it is amazing how different ways of thinking can both solve the same problem. I think in the first round you both did similar, in the second round I liked more Jessica approach, in the last round I liked more William, so that is a Tie for me !!! hahahah. You must another video to define the winner :)
@savieecodes
@savieecodes 3 года назад
This is an excellent competition, we saw different approaches from both of them, which is really cool.
@ankit55ful
@ankit55ful 3 года назад
I love how William opened a new tab in round 2 “Clipping and Masking in CSS” 😂
@Danko_HS
@Danko_HS 2 года назад
🤣 nice catch
@qwertzuiopqwertzuiop2107
@qwertzuiopqwertzuiop2107 3 года назад
shes a genius at css, but when she rotated the red mountain she did it by trial and error😂
@resonatingsilence
@resonatingsilence 3 года назад
Anyone can see that is 45 degrees. Why would you even try 10?? She can’t eyeball pixel values at all either.
@brendan9039
@brendan9039 3 года назад
She probably still kick your ass at css 😆
@resonatingsilence
@resonatingsilence 3 года назад
@@brendan9039 who cares? That's like kicking my ass at putting stamps on mail.
@randomguy3000
@randomguy3000 3 года назад
@@resonatingsilence savage comeback
@LegendOfTheRee
@LegendOfTheRee 3 года назад
I went to the comment section for this exact reason.
@dfgfdgdfgfdg2902
@dfgfdgdfgfdg2902 3 года назад
love these code battles!!! so entertaining and informative :)
@fomentarelaxation139
@fomentarelaxation139 3 года назад
Wow, thanks for these CSSbattles, now as a total beginner I understand that there is no one way how make website. Everyone is a unique writer for its own website 👌 Thanks 🙏
@plor1261
@plor1261 3 года назад
This was awesome! Please do more.
@becayebalde3820
@becayebalde3820 2 года назад
This video was so interesting I even did the first challenge and it was so fun Please make more content like this!
@B42536
@B42536 3 года назад
The last one: two divs, with ::after or ::before pseudo code is possible. When you give overflow:hidden to divs and create same width, height, border-radius property based two circles and their pseudo as well.
@Robdbank
@Robdbank 3 года назад
We never got to see the final scores. I'd like to see more of this collabo in the future
@mishuhishu94
@mishuhishu94 3 года назад
yeah! he got 600 but how much did she get?! who won?
@JamesQQuick
@JamesQQuick 3 года назад
One of the coolest developer videos I've ever seen!!
@fabianvallejos
@fabianvallejos 3 года назад
Great video guys! Looks like a lot of fun. I didn't know about this website but I think I'm gonna spend some time digging into it.
@ProgrammingWithPax
@ProgrammingWithPax 3 года назад
Super fun! Good job with challenge #3.
@thinkerman
@thinkerman 3 года назад
I love love love this! Very fun to watch!
@superbcutter16
@superbcutter16 3 года назад
Such a freaking creative and productive way to improve your skills
@flobiish
@flobiish 2 года назад
Very fun to watch. You guys had a harder time with these than I did, but that doesn't mean I didn't learn anything watching. With the last one, you could have used the top of the two overlapping circles as the clipping box for the inner portion.
@TwanvB
@TwanvB 3 года назад
I would approach these designs almost the same way Jessica did. The way William did it was really interesting to me. Love these video's it really shows there are more ways to do things.
@scriptkeeper8243
@scriptkeeper8243 3 года назад
CSS: that moment when you try hanging a painting on the wall and you nail your hand up instead.
@js_dev_uk
@js_dev_uk 3 года назад
CSS: When you try to hang up the painting, but instead you set fire to the sofa.
@doyoufeel...thatyoulackcri6760
@doyoufeel...thatyoulackcri6760 3 года назад
That's the danger of using negative margins. Use translate instead
@nelsonjavier9005
@nelsonjavier9005 3 года назад
Wow, it's amazing how you guys use css, I learn a lot thank to you.
@mdrafikulislam8949
@mdrafikulislam8949 3 года назад
That was so fun i just love it i want to see more videos like that
@-SumaiyaSiddika
@-SumaiyaSiddika 3 года назад
Though i don't know html or css but it feels so good to watch two people thinking differently
@tegaudbeline5401
@tegaudbeline5401 3 года назад
Well done! I've learm so much. For the third one, i'd create 4 circles and clip 2 of them respectivly in each of the big circle
@marufmarzuq
@marufmarzuq 3 года назад
Now I've come to know how to use clip-path in CSS. Thanks William ❤️❤️
@rupertxyz
@rupertxyz 2 года назад
These battles are awesome!
@k-yo
@k-yo 3 года назад
The trick for staying top 10 in these challenges are usually using lots of gradient backgrounds, box-shadows, styling the default available html and body elements (usually with * and * * selectors), all while minifying the code and exploiting some code omissions that still renders the CSS/HTML in a valid way. I've managed to get some very few top 10 spots, but damn the top 3 is hard af. Also, always the same wizards in those positions in all challenges. I remember that there is one person that is consistently on the top that is actually a maintainer of SVGO, so I guess that's where his magic comes from lol. For anyone interested, check the tips section on the site, it's super cool cssbattle.dev/tips/
@archiem6323
@archiem6323 3 года назад
Jessica, Jessica, I have learned a lot from you. Thanks!!
@stevensbrito7188
@stevensbrito7188 3 года назад
That was really fun, I liked it. The latest exercise could be easier creating a class to create 3 div circles at once, and use one of them into a relative space of the pink circle (child) to create that middle space between the others two. And of course, the pink circle will have an overflow: hidden property to move the third (dark blue) to the left inside of it. :D
@resvevo
@resvevo 2 года назад
Exactly my thought. Just clone one circle, add a child circle with the background color and move it to the side while clipping the parent circle.
@parakidd
@parakidd 3 года назад
I’ve been struggling to learn web development for a few years now because I would rather be on an interactive environment versus just watching tutorials on the web that I tend to fall asleep to. This was much more entertaining and engaging as well as an awesome display of friendly competition that shows CSS in action as its being written with real time results. Definitely going to be watching more videos!
@johndorian4078
@johndorian4078 Год назад
so how's the web development going? or you find a new excuse?
@parakidd
@parakidd Год назад
@@johndorian4078 I change gears too often and end up looking into other things. Always been a problem with me. Are you still a dick?
@j0ca1995
@j0ca1995 3 года назад
What a great video, congrats to you both.
@0mer870
@0mer870 3 года назад
Didn't think I'd like watching this but I actually love it
@liorneuman2198
@liorneuman2198 3 года назад
love these css battles. so cool
@sathishkumarr7106
@sathishkumarr7106 3 года назад
So happy and excited seeing the video 😍
@surajoberai
@surajoberai 3 года назад
Awesome video, i just signed up CSS battle seeing you guys !
@theg315
@theg315 3 года назад
if you are lazy like me. when making circle divs, I just make the width and height to 1em and make the border-radius to .5em or 50% ( whichever makes you feel good ) and then you make the font size to whatever the size of the circle you want it to be. so you don’t have have to keep on changing the width and height everytime you have to adjust the circle’s size 😁
@awekeningbro1207
@awekeningbro1207 3 года назад
here is my short way of doing the last challenge(venn-diagramm): body { --color1: rgb(21, 70, 110); display: flex; justify-content: center; height: 100vh; background: var(--color1); margin: 0; place-items: center; } div { --radius: 140px; height: var(--radius); width: var(--radius); background-color: var(--color1); box-shadow: calc(var(--radius) * -.50) 0 0 0 black, calc(var(--radius) * -.50) 0 0 0 black inset; border-radius: 50%; transform: translateX(calc(var(--radius) * .25)); }
@zoltancaputo9562
@zoltancaputo9562 2 года назад
Awesome guys! Tks for share!
@wajidkhan2980
@wajidkhan2980 3 года назад
i guess i am to noob to understand what is happening saving this to my playlist and once have enough experience i will what watch it again. peace
@mascode1
@mascode1 Год назад
Love this challenges!
@Sacrifice97
@Sacrifice97 3 года назад
This was really fun to watch niceeee!!!
@eufraniodiogo50
@eufraniodiogo50 3 года назад
I never listened a french guy speaking english it's awesome! New sub, liked the video
@bepd
@bepd 3 года назад
This is quality content. Learned a lot.
@anamulhaque589
@anamulhaque589 2 года назад
So pretty, thanks a lot both of you guys.
@math-s
@math-s 3 года назад
I'm a C programmer and my mind can't get this, sorry haha
@varri0nschannel840
@varri0nschannel840 3 года назад
me too , It kind of hurts to see people playing with shapes and calling it programming while we suffer in pitch darkness....
@vizzy4652
@vizzy4652 3 года назад
@@varri0nschannel840 Well, CSS is not a programming language (nor is HTML) so it shouldn't be considered "programming". I guess you can consider it a part of programming, but in itself I wouldn't be able to say so.
@LuZ-vg6fy
@LuZ-vg6fy 3 года назад
Same with Javascript, lord saved me from doing CSS.
@elwinjyothis5388
@elwinjyothis5388 3 года назад
@@varri0nschannel840 CSS is not a programming language and calling css programming would be pretty stupid cause the name itself says that it is a cascade style sheet
@badrkarrachai1189
@badrkarrachai1189 3 года назад
the same here 😢
@edozieonyeanusi4225
@edozieonyeanusi4225 3 года назад
This was fun. LOVED EVERY PART OF IT 😍😍
@KingDrekon
@KingDrekon 3 года назад
Use instead of a div to reduce the code's character count.
@tenc6491
@tenc6491 Год назад
Hi William, I like your french accent. glad to see a french RU-vidr who creates content in English. Happily subscribed.
@octavian3033
@octavian3033 3 года назад
Thanks. I learnt a whole lot from this.
@josejohnhalindogo8336
@josejohnhalindogo8336 3 года назад
I learned something. That's all that matters. I actually learned something.
@ediancomachio2783
@ediancomachio2783 3 года назад
That is awesome! Please keep it up
@lonelym13
@lonelym13 3 года назад
Super fun to watch ☺️
@dejandjukic305
@dejandjukic305 2 года назад
So I'm learning front-end plus design in the last two years, self-learner...I got finally a contract for the position of technical designer but the focus will be on front-end development. I was a bit scared but after I watch this video I'm fully secure. If I did all of that in 10 minutes with 100% someone with a few years experience should make it a bit faster I guess :D
@furbearmn
@furbearmn 3 года назад
Wow, they both made that last Venn diagram challenge 10x harder than it needed to be! The gap is just a nested circle clipped instead the other circle with 'overflow: hidden'. body { display: flex; justify-content: center; align-items: center; background-color: #09042A; } .circle { position: relative; width: 150px; height: 150px; border-radius: 50%; overflow: hidden; } .c1 { left: 30px; background-color: #7B3F61; } .c2 { left: -30px; background-color: #E78481; } .c3 { left: -90px; background-color: #09042A; }
@daudabduljeleelabiola1587
@daudabduljeleelabiola1587 3 года назад
Waw guys this is absolutely amazing
@seanazarrin
@seanazarrin 3 года назад
Loved it... It was amazing 💜💜💜
@XDBjoernXD
@XDBjoernXD Год назад
I love this so much.
@bubbleteaichooseyou
@bubbleteaichooseyou 2 года назад
I always learn from coder coder but I don't know exactly why. Now after seeing her side by side with other people I fully understand her code is very clean and noobs friendly you can just look at it and have a general understanding of what she's going to do
@wcandillon
@wcandillon 2 года назад
I completely agree 💯
@CharlesSmall
@CharlesSmall 3 года назад
I like her videos .I follow her videos and learn everyday.
@blazi_0
@blazi_0 3 года назад
This is so fun to watch ⌚ 😄
@Neffri
@Neffri 3 года назад
I've watched a few CSS battle videos now and I can't figure out why people don't do nesting? Maybe it dosnt work? But in the first challange for example there are 4 circles that all could have radius 50% and there are 3 sticks that look identical besides their rotation. Or am I'm missing something here?
@neo_7864
@neo_7864 3 года назад
I love her voice...so soothing..
@kooralive000
@kooralive000 Год назад
Pretty good job guys, well done.
@sumitmehra5119
@sumitmehra5119 3 года назад
So fun to watch.
@oldbootz
@oldbootz 3 года назад
You got my sub. Great content!
@burhan3759
@burhan3759 3 года назад
nice video.. thanks guys for the css lesson
@jaywye
@jaywye 3 года назад
First two were pretty easy to figure out but that last one, I've never seen before.
@syedshahbazhussain1920
@syedshahbazhussain1920 3 года назад
I really enjoy it ❤️
@raghavsharma2057
@raghavsharma2057 3 года назад
amazing brother loved it❤️🔥
@IceMetalPunk
@IceMetalPunk 3 года назад
Fun fact: self-closing non-void tags are invalid in HTML, so all your lines are just opening divs without closing them. React habits hurt you there :P
@reshad5694
@reshad5694 3 года назад
More of these challenges please
@wcandillon
@wcandillon 3 года назад
there is a new one coming this Tuesday :)
@SeanGoresht
@SeanGoresht 3 года назад
10:00 my first thought on this was to use the ❄ emoji behind the circle, but alas, it doesn't map 1:1. Neither does ❊ (too many lines). Could css clip and shape be used to mask away the additional striations 🤔? I wonder
@tanmayhire3092
@tanmayhire3092 3 года назад
For a second I thought she is Indian Cricketer Smriti Mandhana 😂
@syedismail9758
@syedismail9758 3 года назад
Same here.. 😂😂🤣🤣
@webworldzone962
@webworldzone962 3 года назад
Nice video..you are doing great..since I also run education channel but also love to see other youtuber who are educating people worldwide. Keep the good work 👍
@badrkarrachai1189
@badrkarrachai1189 3 года назад
All of that without using google just ones this is Amazing 😳
@nyamukongclintonjr1036
@nyamukongclintonjr1036 3 года назад
Thanks so much for this
@m1kr0kosmos
@m1kr0kosmos 3 года назад
You all are so cool for this. Want to be this good. Programming neophyte
@preciousnwaoha3123
@preciousnwaoha3123 3 года назад
Pls Part 2🙏👍👍🙏 Awesome vid
@sonikhiphop
@sonikhiphop 3 года назад
This was really cool. Stumbled upon this with my 6 year old daughter who really likes it too 👍
Далее
I Challenged The CSS King To A CSS Battle
37:45
Просмотров 1,3 млн
Challenging Ben Awad to Clash of Code
25:00
Просмотров 120 тыс.
UFC 302: Пресс-конференция
22:48
Просмотров 1,3 млн
can you repeat it? #tatyanadiablo ##shorts
00:11
Просмотров 889 тыс.
The Broken Senior-Only Developer Market
9:58
Просмотров 145 тыс.
Front-end dev reacts to mind-blowing Codepens
21:25
Просмотров 2,1 млн
The Better Boarding Method Airlines Won't Use
8:28
Просмотров 26 млн
Top 10 CSS One Liners That Will Blow Your Mind
13:34
Просмотров 891 тыс.
Skia Shaders and the SDF of a Line
34:47
Просмотров 12 тыс.
ASMR Programming - Animated Login Page - No Talking
18:18
This is the hardest CSS Battle I've tried
1:27:43
Просмотров 106 тыс.
Learn Flexbox CSS in 8 minutes
8:16
Просмотров 1,4 млн
Can I Beat The King Of CSS Again? - CSS Battle
12:40
Просмотров 246 тыс.
Pratik Cat6 kablo soyma
0:15
Просмотров 8 млн
Bardak ile Projektör Nasıl Yapılır?
0:19
Просмотров 3,3 млн