I Challenged The CSS King To A CSS Battle

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 18. 05. 2024
  • For some reason I thought it would be a good idea to challenge Kevin Powell, the CSS king, to a CSS battle. Will I lose miserably? Probably, but at least it will be fun.
    🌎 Find Me Here:
    My Blog: blog.webdevsimplified.com
    My Courses: courses.webdevsimplified.com
    Patreon: / webdevsimplified
    Twitter: / devsimplified
    Discord: / discord
    GitHub: github.com/WebDevSimplified
    CodePen: codepen.io/WebDevSimplified
    ⏱ Timestamps:
    00:00 - Introduction
    01:00 - Round 1
    07:45 - Round 2
    23:23 - Round 3
    37:03 - Outro
    #CSSBattle #WDS #KevinPowell

Komentáƙe • 1,6K

  • @KevinPowell
    @KevinPowell Pƙed 3 lety +4250

    Was a ton of fun, and looking forward to a rematch!

    • @kevin5523
      @kevin5523 Pƙed 3 lety +22

      How is this comment 3 days ago, but the vid came out today the 19th

    • @PodSnippets28
      @PodSnippets28 Pƙed 3 lety +4

      3 days ago ? 😳

    • @ahmaat19
      @ahmaat19 Pƙed 3 lety +37

      I think the video was private and Kevin was granted a permission to comment it

    • @victorwestmann
      @victorwestmann Pƙed 3 lety +2

      @@ahmaat19 makes sense.

    • @chrisandrew_tv
      @chrisandrew_tv Pƙed 3 lety +17

      Poor Kevin typing semicolons after "display" when you wanted to use grid! The pressure! Haha

  • @woltah7122
    @woltah7122 Pƙed 3 lety +3127

    Professors In College: Name your classes properly
    King of CSS: uhmmm.... inner-inner-inner

  • @timbittins8253
    @timbittins8253 Pƙed 3 lety +1838

    To see two professionals struggle like that makes you think: maybe this whole developing-thing IS possible.

    • @vaguebrownfox
      @vaguebrownfox Pƙed 3 lety +250

      Idk about everyone, but realizing this is crucial for some novice developers who keep beating themselves over nothing. It's okay to screw up and not have a clue about what to do. It's important not to lose confidence. The solution will be figured out eventually.

    • @timbittins8253
      @timbittins8253 Pƙed 3 lety +61

      @@vaguebrownfox You are right. It's also important to understand that you'll never quit learning. In the beginning I thought: "First I gonna learn CSS and when that's finished, I'll start with Javascript." That epiphany quickly came to an end as I realized the dimensions of each language. So cross-platform-learning became a thing.

    • @ALexpLK
      @ALexpLK Pƙed 3 lety +47

      @@vaguebrownfox i wasted 6hours on making a navigationbar with "under-categories"
      Ended up not doing it cuz the tutorials i had were bad or not mobile-compitable
      AND IM STILL MOTIVATED

    • @stevestiffler8875
      @stevestiffler8875 Pƙed 3 lety +6

      @@vaguebrownfox thanks buddy needed that..i was fed up just because i was unable to fix some prob

    • @bogzbiny
      @bogzbiny Pƙed 3 lety +33

      Impostor syndrome is real guys. You're all good, keep learning!

  • @sanjivmadhavan5705
    @sanjivmadhavan5705 Pƙed 3 lety +575

    Me trying to watch other people battle with code
    CZcams ad : "So you wanna be a software engineer at Google"

    • @damdamdamdumdidum
      @damdamdamdumdidum Pƙed 3 lety +43

      AlgoExpert io!

    • @mrgredy5068
      @mrgredy5068 Pƙed 3 lety

      đŸ€ŁđŸ€ŁđŸ€Ł

    • @VishalGupta-nk4bw
      @VishalGupta-nk4bw Pƙed 3 lety

      That's Googol tho.😂😂😂

    • @HeatherAlarcon
      @HeatherAlarcon Pƙed 3 lety +23

      Google showed me a McCormick spice ad: “Back to the kitchen with you! Why are you thinking of coding?â€đŸ˜­đŸ€Ł

    • @BIGDRIP2
      @BIGDRIP2 Pƙed 2 lety +4

      @@HeatherAlarcon no way 😂😂

  • @developedbyed
    @developedbyed Pƙed 3 lety +3435

    Watching this totally clueless 👁👄👁

  • @lucastperez
    @lucastperez Pƙed 3 lety +1135

    Kyle: "let's use a section to be more semantic"
    Kevin: "haha inner inner go brrll"

    • @upsurge5541
      @upsurge5541 Pƙed 3 lety +4

      So u watch Dani his jokes be poppij off lol 0_0

    • @maedre9330
      @maedre9330 Pƙed 3 lety +5

      @@upsurge5541 people - u cant just make stupid jokes
      dani-haha brr go brrrrr

    • @GamingTSH
      @GamingTSH Pƙed 2 lety

      â€ïžđŸ‘‰ czcams.com/video/lmIwYLFYZ9U/video.html đŸ‘ˆâ€ïž..

    • @aristotelis700
      @aristotelis700 Pƙed 2 lety +1

      I am dying đŸ€ŁđŸ€Ł

  • @TheLegoody
    @TheLegoody Pƙed 3 lety +459

    Kevin: "I really enjoy CSS"
    Me: Still traumatized by it

    • @justaguywholikeshentai9019
      @justaguywholikeshentai9019 Pƙed 2 lety +9

      saaaaame ! had a css problem that messed me up , i solved it in a whole week lol
      had images that needed to be symmetrically displayed and equal in width and height and space between
      solved it finally with display grid-template-column(4,1fr)

    • @GamingTSH
      @GamingTSH Pƙed 2 lety

      â€ïžđŸ‘‰ czcams.com/video/lmIwYLFYZ9U/video.html đŸ‘ˆâ€ïž..

  • @AhmadHabibx
    @AhmadHabibx Pƙed 3 lety +276

    27:31: Kevin put ";" instead of ":" after "place-items" that's why it didn't centered

    • @tweschke3
      @tweschke3 Pƙed 3 lety +1

      On the last element it shouldn't matter, I always thought

    • @AhmadHabibx
      @AhmadHabibx Pƙed 3 lety +15

      @@tweschke3 It is about the syntax and yeah it did matter

    • @tweschke3
      @tweschke3 Pƙed 3 lety +5

      Oh yeah of course, i thought He Put a ":" at the end instead of a ";"

    • @emiljano1733
      @emiljano1733 Pƙed 3 lety +37

      my god I saw that and I was so uncomfortable... I was literally screaming "DUDE, you wrote a ; instead of a :

    • @AhmadHabibx
      @AhmadHabibx Pƙed 3 lety +8

      @@emiljano1733 and he calls himself the CSS KING #jk

  • @kharapov
    @kharapov Pƙed 3 lety +720

    Definetly one of the best ways to learn is to watch people solving problems in realtime. Awesome content!

    • @CodeZhifty
      @CodeZhifty Pƙed 3 lety +2

      True but the meaning of cssbattle is to write so close to nothing, so the fixes they show might not be optimal

    • @ryanthecow
      @ryanthecow Pƙed 3 lety +10

      @@CodeZhifty have you seen some of the cssbattle answers? that shit is ridiculous and usually only applies to that exact image.

    • @tootaashraf1
      @tootaashraf1 Pƙed 3 lety +1

      I hate frontend

    • @tootaashraf1
      @tootaashraf1 Pƙed 3 lety

      @@supernova82 keeps getting recommended

    • @jeanpierreunis
      @jeanpierreunis Pƙed 3 lety +1

      I agree 100%, while thinking about my own solution, I enjoyed this content

  • @THEBEST-lh6pq
    @THEBEST-lh6pq Pƙed 3 lety +104

    27:40 - that one damned semi-column, can relate to it rather well lol

  • @Sky_ye
    @Sky_ye Pƙed 3 lety +814

    Tip:
    body {
    margin: 0;
    }

    • @DerickMasai
      @DerickMasai Pƙed 3 lety +38

      I have a snippet I call CSS Reset that I always import at the start of each project's CSS files. It resets things like these all the way to some other personal annoyances like text-decoration: underline.

    • @mansoorroeen5209
      @mansoorroeen5209 Pƙed 3 lety +88

      tip:
      *{
      margin: 0;
      padding: 0;
      }

    • @2b2treposter13
      @2b2treposter13 Pƙed 3 lety +10

      bro amazing channel you have

    • @Sky_ye
      @Sky_ye Pƙed 3 lety +6

      @@mansoorroeen5209 personally I feel it can change somerthing I dont want to if you'd use it in web development

    • @lonelybiscuit243
      @lonelybiscuit243 Pƙed 3 lety +13

      i know right is box-sizing: border-box; illegal here?

  • @kjantzer
    @kjantzer Pƙed 3 lety +111

    border-radius: 0 50% 50% 50%;
    That was driving my crazy watching the last match

    • @reggielj
      @reggielj Pƙed 3 lety +10

      Same but... border-radius:0 50% 50%; 😉

    • @Saver174HowTo
      @Saver174HowTo Pƙed 3 lety +3

      @@reggielj Some prefer having non shorthand version as it is faster to orient in it, but nothing wrong with both versions.

    • @reggielj
      @reggielj Pƙed 3 lety +1

      @@Saver174HowTo True, I was thinking more of what's faster to write in CSS Battle race. ;D

    • @owenrossi-keen2594
      @owenrossi-keen2594 Pƙed 3 lety +2

      It was driving me crazy too!

    • @pengai9344
      @pengai9344 Pƙed 3 lety +1

      I was thinking the same.

  • @TheJachi97
    @TheJachi97 Pƙed 3 lety +96

    it's so reassuring to watch other devs going through trial and error

  • @cssbattle
    @cssbattle Pƙed 3 lety +313

    yay! This was real fun to watch! Thanks for doing this you two! ^_^ Looking forward to seeing more CSS battles :D

    • @WebDevSimplified
      @WebDevSimplified  Pƙed 3 lety +42

      It was a ton of fun. I look forward to doing more and hopefully sucking less :P

    • @Allformyequine
      @Allformyequine Pƙed 3 lety +2

      @@WebDevSimplified I wouldn't be so hard on yourself you did awesome!

    • @awekeningbro1207
      @awekeningbro1207 Pƙed 3 lety +4

      It is the real cssbattle devs? Why only 11 subs tho?

    • @cssbattle
      @cssbattle Pƙed 3 lety +9

      @@awekeningbro1207 Yes, its the official one. We started our channel recently and there is not much content. So building up slowly. Please do subscribe us for awesome stuff incoming :)

    • @hassanali-yi4bu
      @hassanali-yi4bu Pƙed 3 lety

      Lovely website pal

  • @LegacyUntouched
    @LegacyUntouched Pƙed 3 lety +53

    "I wonder why it didn't work last time" story of all my code

  • @dehnhunsworth1600
    @dehnhunsworth1600 Pƙed 3 lety +116

    I love seeing other devs go through the thought process in real time...thinking your on the right track and then the "Oh wait...this wont work, lets think about this..". The more scripted tutorials are always great but these videos are the inspiration to show that anyone can learn to dev with practice and many iterations. Great content!!

  • @safintheship
    @safintheship Pƙed 3 lety +106

    "i spelled square wrong", i felt that.

    • @Danko_HS
      @Danko_HS Pƙed 2 lety

      đŸ€ŠđŸ€ŠđŸ€Š

    • @GamingTSH
      @GamingTSH Pƙed 2 lety

      â€ïžđŸ‘‰ czcams.com/video/lmIwYLFYZ9U/video.html đŸ‘ˆâ€ïž..

  • @sanchitghai1455
    @sanchitghai1455 Pƙed rokem +43

    Me: He's CSS king, he must be crazy good at naming convention and writes a clean and organized understandable code.
    CSS kimg: 🌚 inner-inner-inner. Understandable have a good day.

    • @Tenchi707
      @Tenchi707 Pƙed rokem +1

      What would be the correct professional naming convention

  • @jordanlayton6540
    @jordanlayton6540 Pƙed 3 lety +52

    You can see the moment Kevin loses confidence and starts to doubt himself. The pressure of competition isn't for everyone! Good job to both.

    • @Tenchi707
      @Tenchi707 Pƙed rokem

      I for one really hate it, like doing it my way

  • @RajVadla
    @RajVadla Pƙed 2 lety +65

    I thought I was the only one who struggle. After watching CSS king struggle, I feel like we are not too far from being on the same boat 😂. Thanks for the video guys.

  • @azertykeys3285
    @azertykeys3285 Pƙed 3 lety +55

    ahaha I was dying at the class="sqaure" troubleshooting

    • @somewhatBoring
      @somewhatBoring Pƙed 3 lety +7

      No it was when the "CSS King" scrapped place items centre because it was place-items; centre;
      He didnt notice the colon is a semicolon lol

    • @kgenextreme
      @kgenextreme Pƙed 3 lety +2

      The place item and the typo on square bothered me so much. It’s insane how such things mess coders up so badly

    • @Rhidayah
      @Rhidayah Pƙed 3 lety +2

      @@somewhatBoring but he makes meme the "sqaure" make it cracks đŸ€Ł

    • @Rhidayah
      @Rhidayah Pƙed 3 lety

      @@kgenextreme the every programmer nightmare. Bug of typo

    • @somewhatBoring
      @somewhatBoring Pƙed 3 lety +3

      @@Rhidayah ok. Btw the last challenge is sooooo ez that 9 year old me can do it in less thab 2 minutes

  • @02KAINE
    @02KAINE Pƙed 3 lety +8

    This was great watching how the two of you tackled achieving the same result using different techniques. So much value in this video. Thank you and please do more.

  • @nekocari
    @nekocari Pƙed rokem +5

    Just got into css battles because of these videos. Watching you guys sometimes was painful, when both of you were overcomplicating things because you did not see what I did. So naturally I had to try it myself. And now i'm hooked...

  • @Arigatex
    @Arigatex Pƙed 3 lety +74

    This needs a clock overlay, some music and you two grilling each other on your fails afterwards

  • @iben1195
    @iben1195 Pƙed 3 lety +57

    So pros too make speculations đŸ€—
    This should work, tried, it didn't work.
    This may not work, tried, it worked. 😂

  • @erics.k.cheung2237
    @erics.k.cheung2237 Pƙed 3 lety +20

    Wow Kevin Powell is all instinct. So crazy he seemingly stumbles into the right solution but it's all his learned instinct. He definitely could've had the second one but was definitely flustered knowing he would be watched.

  • @dealstunner8317
    @dealstunner8317 Pƙed 3 lety

    Enjoyed watching and seeing each of you taking a different approach to the same challenge. Awesome!

  • @cezargheorghiu2606
    @cezargheorghiu2606 Pƙed 3 lety +1

    You guys are amazing! learned so much from both of you! Thank you!

  • @Nicky411
    @Nicky411 Pƙed 3 lety +125

    Before this I knew I wasn't that good at CSS, but after watching this video I realize I suck at CSS.

    • @goldengiorno6890
      @goldengiorno6890 Pƙed 3 lety +9

      Ikr đŸ€Ł i thought i was fullstack but now i kinda feel much more backend without the help of CSS frameworks or libraries

    • @Allformyequine
      @Allformyequine Pƙed 3 lety

      LOL me too! Too funny! I feel that!

    • @dfla5472
      @dfla5472 Pƙed 3 lety

      @@goldengiorno6890 But i don't actually see a practical use of such hard types of css.

    • @goldengiorno6890
      @goldengiorno6890 Pƙed 3 lety +14

      I mean yeah that's true you don't get hired by drawing shapes with pure CSS but i think it's still really important to know those kind of things. Let's say you want to build a full website and you're styling with some CSS framework. You don't want your website to appear like some other default one but something unique and that's what CSS frameworks or libraries actually provide. They give you a foundation of styles and you are the one who needs to customise them. It's here where pure CSS actually help ans it's here where there is problems. You can ofc find a solution by bringing some other JS library and thus making your code not just horrible but also bloating your project with extra libraries and data which can result of a really bad user experience. But you may in this case use those CSS properties that you found useless to style the same way as another guy who bloated his website with useless libraries and trust me this makes a huge difference. Quite a long answer but just to tell you that pure CSS actually matters a lot and even those little CSS properties can make a difference.

    • @goldengiorno6890
      @goldengiorno6890 Pƙed 3 lety +4

      Shoot that's a long answer i didn't knew i wrote that much đŸ˜¶

  • @Hizbullla
    @Hizbullla Pƙed 3 lety +627

    Wow.
    Thanks for reminding me of my deep hatred towards CSS.

    • @TheNikhilify
      @TheNikhilify Pƙed 3 lety +21

      It's actually interesting

    • @freizagen
      @freizagen Pƙed 3 lety +1

      Best comment ever.

    • @nandansojitra8803
      @nandansojitra8803 Pƙed 3 lety +6

      I think you haven't tried javascript

    • @max-tp1xv
      @max-tp1xv Pƙed 3 lety +4

      @@nandansojitra8803 i like css better than js. js language is so complicated while in css you could just type it like placing block over and over

    • @eternalflower8026
      @eternalflower8026 Pƙed 3 lety +34

      @@max-tp1xv css is shit it takes a day to position something properly

  • @bitwisetube
    @bitwisetube Pƙed 3 lety +5

    Watching you guys struggle was so hilarious. Guys you made my day!

  • @naveenrana3144
    @naveenrana3144 Pƙed 2 lety

    This was so fun to watch. Awesome content! Look forward to more on these.
    The moment he was not able to find the square on the design was really funnyy.

  • @jonasboardwalker
    @jonasboardwalker Pƙed 3 lety +13

    We need more content like this! It shows we are all humans and sometimes we don’t know how to do things

  • @anythgofnthg154
    @anythgofnthg154 Pƙed 3 lety +23

    What I like best about these battles is that-unlike scripted, pre-planned content-they show you that even the most seasoned developers don't just regurgitate code onto a screen having it come out perfectly the first time.

    • @theseangle
      @theseangle Pƙed 2 lety +2

      It's funny when you are able to do the work EASILY and then you see how the "professionals" struggle with it and just brute force it with specific pixel placements... Bruh.
      I tried the blue letter "b" thing. They could just use:
      body>div.outer-circle>div.inner-circle>div.inner-line
      body {
      //flex and center children with justify-content and align-items
      }
      .outer-circle {
      border-radius: 50%;
      border-top-left-radius: 0;
      display: flex;
      //justify and align on center
      }
      .circle-inner {
      //width and height to 50% (it's exactly half of the outer circle)
      position: relative;
      }
      .inner-line {
      transform-origin: bottom right;
      bottom: 50%;
      position: absolute;
      width: 50% //it's exactly half of the inner circle, hence it's its child
      height: 100%; //it has to cover exactly the height of the inner circle to cover the outer circle as well, and not go beyond necessary boundaries.
      I came up with this solution in my head in 10 seconds, coded it working in probably 5 minutes. And as a bonus it's adaptive for all screen resolutions. Kinda cringed at these "CSS King" nicknames. CSS is too easy to be a king on it, it has a very low skill ceiling, and even if you can't solve something on your own there are hundreds of ready solutions in the web waiting for your Google search. It's just matter of time and quality. And seeing his class naming conventions, his "workaround patch fix" solutions and so much time spent I don't see a king there.
      Anyway that's just my criticism of their skill and ONLY because of the "King of CSS" title which imo doesn't show in THIS particular battle.

    • @theseangle
      @theseangle Pƙed 2 lety

      Also the stripes in the green/yellow circles job could've been done with linear gradient in like 5 seconds.
      It's fair if you say I'm a b1t©h for saying all this but on my defence there is the fact that they can't center a block vertically

    • @stepheng684
      @stepheng684 Pƙed 2 lety

      ​@@theseangle "You Come At the King,You Best Not Miss"

    • @Tenchi707
      @Tenchi707 Pƙed rokem

      @@theseangle there's just no way to believe you, if you make a video of yourself doing a challenge you've never done before while competiting against another person and still do it in 10 seconds then that's believable, not when you're not competiting against anyone and have all the time you need and there's no video filming

    • @theseangle
      @theseangle Pƙed rokem

      @@Tenchi707 well don't believe me, I don't care. Since then I have been working as a Frontend Developer and these challenges are pretty difficult, except for the ones that they chose for this video. Kevin Powell is indeed a CZcams CSS king, just not as much in this specific video.
      There's also the factor of being able to touch type and do it fast, which will obviously increase your speed. Well I've got 90 WPM typing speed. Combine it with the first possible solution that came to my head and it takes less than 5 minutes in total for a challenge like the letter b.
      Just gotta think in markup

  • @shalomberkohn4581
    @shalomberkohn4581 Pƙed rokem

    this video is AMAZING! it helps so much to see two different minds trying to each solve the challenge, for me it's just as educational to watch than it is fun. Thank You Guys!

  • @rahulv2709
    @rahulv2709 Pƙed 3 lety

    Loving this! Unique addition to your channel! Keep them coming!

  • @thesamarthshah
    @thesamarthshah Pƙed 3 lety +48

    Do battle with Dev Ed. We love watching that

    • @sarcasticdna
      @sarcasticdna Pƙed 3 lety +4

      Why you do this

    • @techsauce2706
      @techsauce2706 Pƙed 3 lety +1

      @@sarcasticdna why u du dis !! đŸ’ŻđŸ™đŸ»

    • @Allformyequine
      @Allformyequine Pƙed 3 lety +1

      There would be too much laughing lol!

    • @ZhaoHH
      @ZhaoHH Pƙed 3 lety

      Dev Ed. will be busy showing his magic tricks

  • @awekeningbro1207
    @awekeningbro1207 Pƙed 3 lety +7

    Using box-shadow property and before, after pseudo elements in these type of css challenges saves a lot of divs

  • @chananganazareno1223
    @chananganazareno1223 Pƙed 3 lety

    You guys are great, watching the battle and coding along help improve my css skills, more show please

  • @jmiller6224
    @jmiller6224 Pƙed 2 lety

    Wow, *Great* CSS battle, very entertaining and it helped me alot in my current website redesign - thanks again and you rock!

  • @CodingNuggets
    @CodingNuggets Pƙed 3 lety +3

    Kevin is definitely the goat of CSS in our current circle of coding friends. So cool to see you both making a collaboration. Excellent job!

  • @arshdeepkumar2586
    @arshdeepkumar2586 Pƙed 3 lety +6

    I was struggling today with css and web dev simplied got a platform for me to practice ♄

  • @jorgehernandez2938
    @jorgehernandez2938 Pƙed 3 lety

    This was awesome. Loved seeing you guys fumble through round 2. I did a jam sesh at work about 2 weeks ago and stumbled through that challenge as well.

    • @sedmidivka
      @sedmidivka Pƙed 2 měsĂ­ci

      I still don't understand how that can be done :D

  • @emmanuelrosas4164
    @emmanuelrosas4164 Pƙed 3 lety

    Great video for learning! Thank you both!

  • @purplealma
    @purplealma Pƙed 3 lety +24

    Kevin: So you have chosen death!

  • @A_Lesser_Man
    @A_Lesser_Man Pƙed 3 lety +3

    the most interesting parts: how you named stuff the same, and how you went about it differently. i liked the contrast.

  • @tato03130
    @tato03130 Pƙed 2 lety

    This and the rematch are my favorite videos of the year

  • @akbelhanim
    @akbelhanim Pƙed 3 lety

    THIS is SOOOO good!! I could not stop watching, thank you guys!

  • @velatoget
    @velatoget Pƙed 3 lety +9

    Neither of them using "border-radius: 0 50% 50% 50%;" was just maddening.
    Alternatively they could've added "border-radius-top-left: 0;"

  • @matthewshen
    @matthewshen Pƙed 3 lety +48

    nobody:
    literally no soul on planet earth:
    kevin: i rEallY enJoY cSS

  • @smooth_9248
    @smooth_9248 Pƙed 2 lety +1

    holy cow watching you guys speed through the first part and talk through the thoughts was insanely eye opening for me, and I'm sure many others.

  • @Dumbledor1231
    @Dumbledor1231 Pƙed rokem

    We need more of these!

  • @goodvibrato
    @goodvibrato Pƙed 3 lety +20

    haha "I'm a little bit nervous...hopefully I crush him."

  • @miguelangelandreu7411
    @miguelangelandreu7411 Pƙed 3 lety +8

    i've never writtern in CSS but hoooly this battles are so interesting

  • @awabelmahe9700
    @awabelmahe9700 Pƙed 3 lety

    Holy hell man. I didn't know this was gonna be this much fun. Superb video.

  • @tuttleco
    @tuttleco Pƙed 3 lety

    This was so much fun to watch, and helped me learn some things, too! Thank you.

  • @whyredvince
    @whyredvince Pƙed 3 lety +3

    Two of my favorite youtubers together! yey!

  • @helloredwan
    @helloredwan Pƙed 3 lety +3

    I think I can do last one more easily. Will try at morning. Really enjoyed so much. Best wishes for both of you❀

  • @wesonweb
    @wesonweb Pƙed 3 lety +1

    Loved this! Also glad I’m not the only one who is like ‘why isn’t it working’ only to find it’s a typo.

  • @alexsalychev9324
    @alexsalychev9324 Pƙed 2 lety

    Kevin, besides awesome dev skills, you also have an amazing sense of humor! I've really had fun watching this video. Thank you.

  • @callmeFernie
    @callmeFernie Pƙed 3 lety +6

    "I spelled square wrong" I lost it there 😂😂 Great content, Kyle!

  • @Minitomate
    @Minitomate Pƙed 3 lety +3

    I didn't knew that making the Bixby button would result in such a 10 minute struggle.
    Awesome battle, it was very entertaining and fun to watch.

  • @SteveWinnard
    @SteveWinnard Pƙed 3 lety

    Thanks guys for this. I've learned a truck-load watching your videos @Kevin, and after a day spent working on some other CSS stuff watched this video to see how the pros tackled the unknown. And I was surprised to find that the challenges faced, for me were surprisingly easy to complete with 99% success the first time. Like I said, that's a direct result of learning from you.

  • @electrickids_club2020
    @electrickids_club2020 Pƙed 2 lety

    VERY ENTERTAINING!! I love the short clips 😂😂😂

  • @vladpuriy
    @vladpuriy Pƙed rokem +5

    More like this please.

  • @serpian220
    @serpian220 Pƙed 3 lety +3

    That was awesome!! And at the same time discouraging, I was completely lost in the first challenge. In the other two at least I had some idea of what they were doing. Man, I really need to step up my game. You both are great!

    • @Allformyequine
      @Allformyequine Pƙed 3 lety

      I second that comment!

    • @orlik1022
      @orlik1022 Pƙed 2 lety

      Yea i have no idea how a triangle was made but other was fun cause they had their own ideas and i had my own too

  • @thayscasado255
    @thayscasado255 Pƙed 3 lety

    I loved it. Thank you for the video 😍

  • @MarkChaney
    @MarkChaney Pƙed 3 lety

    Fun to watch, but learned a little and love seeing others making multiple small changes/corrections to values to get right look.

  • @paulosantana9607
    @paulosantana9607 Pƙed 3 lety +30

    22:21: ~ almost losing, manages to draw the Eye of Sauron. He truly is the CSS King

  • @romanmandal6278
    @romanmandal6278 Pƙed 3 lety +3

    i been waiting for this......two of the best developers

  • @mustafaaljumayli6615
    @mustafaaljumayli6615 Pƙed 2 lety

    We really need more content of people actually working through and reverse engineering something. I love this because I feel like you took me through your thinking process which not a lot of people show. Overall super interesting! I liked and subbedđŸ‘đŸŒ

  • @3bood_kr
    @3bood_kr Pƙed rokem +1

    It was fun to see you struggle.
    You gave me confidence to keep learning💀

  • @EmadElSammad
    @EmadElSammad Pƙed 3 lety +7

    My neighbour literally knocked on my door to see why I was laughing so loud. Thank you guys for the great laugh, was hilarious :D

  • @ChrisCanMakeStuff
    @ChrisCanMakeStuff Pƙed 3 lety +6

    Things I find very reassuring in this video: CSS experts looking confused and saying, "That should work!"

  • @swtrials2911
    @swtrials2911 Pƙed 3 lety +2

    Linear-gradient backgrounds would have saved you a lot of time and extra divs on both the circle & lines exercise and the funky circle/line. I always struggle with triangles so thanks for the refresher. This is a fun challenge! I am going to have to go do some on my own. Keep killing it!

  • @ibrahimoguzhanyilmaz3451
    @ibrahimoguzhanyilmaz3451 Pƙed 3 lety

    This was freaking funny to watch 😄 great content.. looking forward for more battles :))

  • @matthewstaton6810
    @matthewstaton6810 Pƙed 3 lety +5

    Seeing these guys struggle with the first challenge gave me so much hope for myself. See ya in the workforce, boooooyyyys.

    • @iKyroja
      @iKyroja Pƙed 3 lety

      all of the challenges werent that... I dont get how they messed up the second one.

  • @benediktwalch1605
    @benediktwalch1605 Pƙed 3 lety +10

    Watching the CSS king struggle with round three which for me was pretty easy to recreate is sooooooooo satisfying. 😊
    And I just learned CSS this week from his introductory Course on Scrimba.

  • @klemenkovacic9109
    @klemenkovacic9109 Pƙed 2 lety

    okay that was fun wathcing you two guys great content! :D

  • @nairobidenver3348
    @nairobidenver3348 Pƙed 2 lety

    This inspired me a lot!! Thank you

  • @webdevprojects7460
    @webdevprojects7460 Pƙed 3 lety +10

    For the second round, I would have chosen a div (display: flex; and flex-direction: column) with 7 children, each odd child to have a different color (and flex: 1 to make them equal). To cut it into a circle I would have used clip-path: circle (); on the parent container. It would have been short and efficient.
    For the third round, it is worth using border-radius: 0 50% 50% 50%. The upper left corner would have remained unchanged and the others would have been rounded.
    However, the fact that you posted a video in which you did not do everything perfectly makes me glad that I have been watching you both for so long! Congratulations!

    • @Allformyequine
      @Allformyequine Pƙed 3 lety

      Hind sight is always 20-20 tho ;-)

    • @back4stab
      @back4stab Pƙed 3 lety

      i havent use clip path before but i was thinking of same but would have make a transparent outer circle with overflow hidden ! thats what i think will work ! havent tried yet though

    • @webdevprojects7460
      @webdevprojects7460 Pƙed 3 lety

      @@back4stab this is how it looks like with clip-path:
      .parent-rectangle {
      height: 200px;

      width: 400px;
      clip-path: circle(60%);
      display: flex;
      flex-direction: column;
      }
      .child-line {
      flex: 1;
      background-color: white;
      }
      .child-line:nth-child(even) {
      background-color: orange;
      }

  • @johfarrell
    @johfarrell Pƙed 2 lety +21

    Actually... round 2 at 14:15 you literally just need two more dark green div. Put it between the bigger and smaller circle z-index, so it only cover the bigger circle.

    • @TeoAl
      @TeoAl Pƙed 2 lety +1

      but the bigger circle should draw over the smaller one

  • @MCorrigan
    @MCorrigan Pƙed 3 lety +1

    5:33 you made me feel better about the times I write lines of code, it doesn't work how I expect it to, then I scrap the lot and start again. Glad to see it's not just me.

  • @IVargasO
    @IVargasO Pƙed 3 lety

    I love that show the mistakes and how you have solved them

  • @udaysrivastava1957
    @udaysrivastava1957 Pƙed 3 lety +22

    In the second one we can use
    border-top-left-radius: 0;
    And it'll be done.

    • @callmed6756
      @callmed6756 Pƙed 3 lety +2

      It's harder to think when we're in hurry 😂

    • @animals_74
      @animals_74 Pƙed 3 lety +2

      I was thinking that they are gonna use it immediately.

    • @sharakpl
      @sharakpl Pƙed 3 lety +1

      I'm guessing you mean the 3rd one (with blue background). Second was with yellow stripes

  • @ed1nh0
    @ed1nh0 Pƙed 3 lety +8

    Dude, this one I pressed like before I watch!! Cool!

  • @naterdask8er
    @naterdask8er Pƙed 3 lety

    I love this type of video please please please do more with more CZcams devs!!! Thank you so much!

  • @moretimeproductions
    @moretimeproductions Pƙed 3 lety

    Very great video and thanks Kyle, for introducing me to Kevin, didn't know about him, subbed!

  • @SandwichMitGurke
    @SandwichMitGurke Pƙed 3 lety +21

    why didn't you had a voice call in the end. would have been interesting

  • @evebella3118
    @evebella3118 Pƙed 3 lety +3

    For the three CSS creators, I would launch them the challenge to create a solid tutorial about **flex-shrink** which is not well explained nor in (simplest) W3Schools, not in (the advanced) MDN neither in expert world of StackOverflow. I consider it a very important thing for responsive design since smartphones were created except for grid and media queries maybe. If they cannot do it at highest level I would put myself to work to make it ;) Btw tell me if you find useful this small one here: font-size: minmax(calc(0.5em + 1vw), 16px)
    Cheers to all coders out there !

  • @Jrane2040
    @Jrane2040 Pƙed 2 lety

    This was really fun to watch 💯

  • @QuantumDroid
    @QuantumDroid Pƙed rokem

    Never bored to watch your video :)
    Great video as always!

  • @WitherBossEntity
    @WitherBossEntity Pƙed 3 lety +33

    Moral of the story: Everything can be fixed with liberal appliance of divs.

  • @androcoder1389
    @androcoder1389 Pƙed 3 lety +6

    20:41 , here's solution :
    1. make a circle exactly same as yellow and same position.
    2. make border same as size of lines. and adjust circle position.
    3. make border top and bottom same as background color. other two will transparent.
    4. make circle background transparent.
    5. make those middle lines above them all ( z-index : 500; )
    _________________________
    Thanks for reading.
    😇 Hva Great Day .

  • @kshitijgaikwad997
    @kshitijgaikwad997 Pƙed 2 lety

    This is awesome..please make more videos like this

  • @jrudokas3141
    @jrudokas3141 Pƙed 3 lety

    These are so much fun to code along with in my laptops full viewport. So many cool tricks that can be adapted.

  • @pigma15
    @pigma15 Pƙed 3 lety +13

    At round 3 I was like:
    border-radius: 0% 50% 50% 50%;

    • @ahmedmeftah1993
      @ahmedmeftah1993 Pƙed 3 lety

      Only one div with a border

    • @udaysrivastava1957
      @udaysrivastava1957 Pƙed 3 lety

      Yeah can also be
      border-radius: 50%;
      border-top-right-radius: 0;

    • @sidharthsid3429
      @sidharthsid3429 Pƙed 3 lety +5

      you were right, it was so simple(took me 2min 10sec), although not under-pressure
      /* HTML */
      /* CSS */
      body {
      display: grid;
      place-items: center;
      height: 100vh;

      }
      .outer {
      border-radius: 0% 50% 50% 50%;
      background: lightcoral;
      width: 150px;
      height: 150px;
      display: grid;
      place-items: center;
      }
      .inner {
      background: #fff;
      width: 50%;
      height: 50%;
      border-radius: 50%;
      position: relative;
      }
      .inner::before {
      content: '';
      width: 50%;
      height: 100%;
      position: absolute;
      left: 0;
      top: -50%;
      background: #fff;
      }

    • @pigma15
      @pigma15 Pƙed 3 lety +2

      @@sidharthsid3429
      * {
      margin: 0;
      }
      body {
      display: grid;
      place-items: center;
      height: 100vh;
      background: #6592CF;
      }
      body > div {
      width: 100px;
      height: 100px;
      border: 50px solid #243D83;
      border-radius: 0% 50% 50% 50%;
      position: relative;
      }
      div div {
      background: #6592CF;
      width: 50px;
      height: 50px;
      position: absolute;
      top: -50px;
      }
      or so :)

    • @abhishek.rathore
      @abhishek.rathore Pƙed 3 lety

      Same man. Dunno why do they did it?

  • @mulanszechuansauceisthemeaning

    14:08 - why does the "Last Score" say 100% Match?

    • @hassanali-yi4bu
      @hassanali-yi4bu Pƙed 3 lety +24

      He is a sneaky bitch who had solved this problem beforehand

  • @555pontifex
    @555pontifex Pƙed 3 lety

    That was fun to watch. Thanks, guys!

  • @dgknowles
    @dgknowles Pƙed rokem

    These are great to watch, and educational. I'm an ex-coder now project manager, and learning css just for fun is great. Tearing my hair out on the circle one - just use a border on the circle one, transparent one side and rotate!