This is a fun front-end challenge for beginners to try (using React)

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 30. 01. 2023
  • you don't need to use react, you can try vanilla js, the challenge is more about the html and css anyway.
    💬 Discord / discord
    🔔 Newsletter newsletter.webdevcody.com/
    📁 GitHub github.com/webdevcody
    đŸ“ș Twitch / webdevcody
    đŸ€– Website webdevcody.com
    🐩 Twitter / webdevcody

Komentáƙe • 118

  • @fakhrulradzi8536
    @fakhrulradzi8536 Pƙed rokem +78

    More frontend mentor challenges please! Love watching how other people solve the challenge.

  • @Callumkloos
    @Callumkloos Pƙed rokem

    Really glad I found this channel recently, keep up the great work. Beginner friendly content like this is the perfect level for me right now :)

  • @ichiroutakashima4503
    @ichiroutakashima4503 Pƙed rokem +1

    Agree with the majority of the comments here. This actually is one of my first challenges and this honestly give me more pain that Front-End Mentor's Accordion FAQ challenge. Love that you're using React on this video. This honestly gave me an idea that I should refactor all my challenges using React so I could practice my skills. So, thanks for that.

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

    It was really interesting to see how others break down and solve a challenge. Expecting more of these videos from you!

  • @shakapaker
    @shakapaker Pƙed rokem

    Nice video! Enjoyed watching :) Really interesting how others solve such challenges and I want more challenges from front-end mentor, pretty awesome platform

  • @mamoutif1573
    @mamoutif1573 Pƙed rokem +3

    I can't believe this, I literally just finished the challenge after so much struggle and here I see you upload a video about it. Such a coincidence.

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

    beautiful, hope you do more of these videos where you are going through everything, the longer the better. ty

  • @bugamarian
    @bugamarian Pƙed rokem +1

    This is so good! Please do more! ❀

  • @franinja080
    @franinja080 Pƙed rokem +1

    This channel has been great lately, good job!

  • @amershboul9107
    @amershboul9107 Pƙed rokem +1

    Finally challenge series is back! keep going with more challenging things

  • @eren1514
    @eren1514 Pƙed rokem +19

    This kind of videos really good. Even it is for beginners, I watch it like it is a Netflix movie :D A series from Frontend challenge web would be good to see

    • @WebDevCody
      @WebDevCody  Pƙed rokem +5

      I might do more of these, it was fun!

  • @xbsidesx
    @xbsidesx Pƙed rokem +2

    Great stuff! The only thing, I think it’s weird to name the event functions in the past since when you trigger them they don’t do the action itself (hi preventDefault). I would call it just handleSubmit. Besides that, loved to see how you think and how you teach. Thanks!

  • @VKD007
    @VKD007 Pƙed rokem

    It was fun seeing you doing something which you don't do on daily basis .
    Due to less time you made it verbose which one will do in a live coding challenge . Realistic

  • @haze4828
    @haze4828 Pƙed rokem +4

    Frontend Mentor is really cool, I've done quite a few of the challenges (mainly the easier ones 😅) But it's such fantastic way to practice frontend skills and there are so many free challenges

    • @WebDevCody
      @WebDevCody  Pƙed rokem +2

      I agree it has good stuff that you'd see on a real application you might need to build

  • @TheSourLemonz
    @TheSourLemonz Pƙed rokem

    nice brodie, u should do more of these challenges like you used to

  • @krismatic_
    @krismatic_ Pƙed rokem

    This is seriously good content.

  • @ChrisHenke
    @ChrisHenke Pƙed rokem +6

    Great video! I think instead of buttons you could've used a radio buttons and styled the label. You could then style the checked + label selector instead of having to create a function to add an active class.

    • @WebDevCody
      @WebDevCody  Pƙed rokem +2

      yeah that's a good idea

    • @yongfengye
      @yongfengye Pƙed 7 měsĂ­ci

      it's one way if this is just for show but if you need to know what to choose later, you still need to add variables

  • @SeibertSwirl
    @SeibertSwirl Pƙed rokem +3

    Good job babe!!!!

  • @ocarrott8664
    @ocarrott8664 Pƙed rokem +1

    Looks pretty good, one thing you missed though is that :focussed won't accurately display the selected rating. Instead you would do something with checking if the idx (+ 1) of the map aligns with the selected rating.

    • @WebDevCody
      @WebDevCody  Pƙed rokem

      good catch, yeah I totally forgot to dynamically add a .active class on the button you click. I just jumped ahead to the next panel without making sure I had everything covered.

  • @tedjenkler604
    @tedjenkler604 Pƙed rokem

    This was very good to look after doing the projekt, took me 2.5 h and for u 30 mins tho but prob wasted an hour fixing props and states, Colorpicker was a good trick also

  • @ludanjubara
    @ludanjubara Pƙed rokem +1

    More advanced challenges would be welcome :)

  • @rand0mtv660
    @rand0mtv660 Pƙed rokem +9

    No need to import vars css file if that css variable is defined globally. You first made a mistake of putting two colons when defining root in your css module file and later when moving color variable to root block you used a single hyphen instead of double hyphen. But overall nice to see the thought process when working on something.

  • @MrStresnes
    @MrStresnes Pƙed rokem

    Great video. Thanks for the content. One thing, I guess you forgot to pass the "key" at the array button at 19:10.

  • @parkersmith7522
    @parkersmith7522 Pƙed rokem +2

    Love this. The question about combining classes from modules you can use “cx” from classnames and can combine multiple classes and can conditionally add them :)

    • @WebDevCody
      @WebDevCody  Pƙed rokem +1

      nice thanks for pointing that out for me!

    • @ludanjubara
      @ludanjubara Pƙed rokem +1

      One simple way of doing it is through template literals like this: className={`${styles.foo} ${styles.otherFoo}`} or if you want conditional class you could do className={`${styles.foo} ${isTrue && styles.otherFoo}`} hope it helps.. I use it all the time 👍

  • @rdefazio
    @rdefazio Pƙed rokem

    Great video! I noticed you use an extension that provides additional information while you're coding. Is that Quokka, or something else?

  • @StrikerFeed
    @StrikerFeed Pƙed rokem

    what extension for icons in your sidebar are you using?

  • @sumitmehra5119
    @sumitmehra5119 Pƙed rokem

    I had a session where I had to demonstrate react and i choose this components. TBH I used same approach 😇😇

  • @nawazpasha3904
    @nawazpasha3904 Pƙed rokem +1

    Keep creating 👍, can you make some video on open ai apis some cool project

  • @saxprophet3602
    @saxprophet3602 Pƙed rokem

    I love the fact that you were real👍

  • @darelbvcr687
    @darelbvcr687 Pƙed rokem +2

    Can u make simple next13 typescript tailwind project ?

  • @poloiaish6281
    @poloiaish6281 Pƙed rokem

    Hey bro. I really love these kinds of videos. I know this may be a newbie question but, it seems like you have too many shortcuts and tools that you are using. Do you have a separate tutorial mainly about those shortcuts and tools?
    Anyway thanks bro keep it up!

    • @WebDevCody
      @WebDevCody  Pƙed rokem

      I have a video about vscode shortcuts

  • @mordredee213
    @mordredee213 Pƙed rokem

    Great content!!! Btw what is your vscode font? Your vscode fonts seems different from me.

    • @WebDevCody
      @WebDevCody  Pƙed rokem

      I use the default font, probably whatever mac provides

    • @mordredee213
      @mordredee213 Pƙed rokem

      @@WebDevCody I actually get it now. I am using window lol.

  • @brettRaperhvactech
    @brettRaperhvactech Pƙed rokem

    5:40 what are you using to get the padding?

  • @r4rbit
    @r4rbit Pƙed rokem

    Nice video, what's your theme and icon pack? Looks really good

  • @flemingCT
    @flemingCT Pƙed rokem

    This is fantastic. How are you switching so effortlessly between vs code & chrome? thanks

    • @WebDevCody
      @WebDevCody  Pƙed rokem +1

      Mac workspaces three finger swipe

  • @neksbr1
    @neksbr1 Pƙed rokem

    Hi!
    What extension are you using on your Vs Code? And what theme? I really liked it

    • @WebDevCody
      @WebDevCody  Pƙed rokem

      bearded theme stained blue theme with breaded icons

  • @vanilla4064
    @vanilla4064 Pƙed rokem

    Awesome job n great video! Curious, what tool is that for measuring the pixels @6:54 ?

    • @WebDevCody
      @WebDevCody  Pƙed rokem +1

      screen shot tool built into mac

    • @vanilla4064
      @vanilla4064 Pƙed rokem

      @@WebDevCody oh, ok. Thank you!

  • @voldemortvi4264
    @voldemortvi4264 Pƙed rokem +1

    when you said " i dont remember if its 50% border radius or 100% " , i was like this Man really didnt touch normal css for a looooong time 😂
    Good video tho , as always very informative

    • @WebDevCody
      @WebDevCody  Pƙed rokem

      The thing is both work to make a circle round 😂

    • @voldemortvi4264
      @voldemortvi4264 Pƙed rokem

      @@WebDevCody yes ^^ , sometimes i use border-radius: 100vh; thats work too

  • @HollowsDarkness
    @HollowsDarkness Pƙed rokem

    For Frontend Mentor, how do you make the preview, when you submitted the code, lineup with your submitted project? is there a way to ?

  • @twismfamily
    @twismfamily Pƙed rokem

    How do you get your mouse to show the cross as you click and drag to see the width and size of your picture?

  • @boymetevil5403
    @boymetevil5403 Pƙed rokem +1

    how do turn your cursor in the "selecting tool" that you use to check the pixel size? is it a screenshot software?

    • @WebDevCody
      @WebDevCody  Pƙed rokem +1

      build into mac, it's the screenshot tool

    • @boymetevil5403
      @boymetevil5403 Pƙed rokem

      @@WebDevCody oh okay thanks, didn’t know it also showed the pixels like that

  • @lauris5275
    @lauris5275 Pƙed rokem

    Is there a point to submit it after? Do they check it or what? Cause i probably wont use them as portfolio anway. Wanted to train my css and html skills.

    • @WebDevCody
      @WebDevCody  Pƙed rokem

      Idk I doubt it, just get it looking good and you’ve solved the challenges

  • @nicolasmayorga8288
    @nicolasmayorga8288 Pƙed rokem

    Hi ! What do you use and how, to see the pixels from the elements in your screen ? that could really save me a lot of moments

  • @KuroBayashi
    @KuroBayashi Pƙed rokem +1

    Hello, why using 5 buttons when exist ?

    • @WebDevCody
      @WebDevCody  Pƙed rokem

      Idk I probably should have used a radio, I just know styling the radio takes a bit more css knowledge to do without looking it up

  • @sharadtiwari6768
    @sharadtiwari6768 Pƙed rokem

    Could you recommend me a course for complete front-end development, please!!

  • @chrismolina6483
    @chrismolina6483 Pƙed rokem

    Hello what tool did you use to measure at 5:50 mins to get the pixel value both width & height

  • @kimbapslayer1995
    @kimbapslayer1995 Pƙed rokem

    Man watching the process of normal css or scss and writing classes stresse some out. That’s probably not a good thing, but I’m so dead stuck on tailwind every sense I tried it.

    • @WebDevCody
      @WebDevCody  Pƙed rokem +1

      Yeah I’m kind of hooked at it as well

  • @johnmurphy7274
    @johnmurphy7274 Pƙed rokem

    Damn how did you master front end cool.

  • @sambit7099
    @sambit7099 Pƙed rokem +1

    Hey what vs code theme are you using? It looks cool.

  • @pattaratornseeduang6407
    @pattaratornseeduang6407 Pƙed rokem

    what mic did u use on this video? your voice are great.

  • @sardorchallenges
    @sardorchallenges Pƙed rokem

    What icon extension in VSCode do you use?

  • @handsome_man69
    @handsome_man69 Pƙed rokem

    Handsome man

  • @GetushaHD
    @GetushaHD Pƙed rokem

    I loved the file icons what's the name?

  • @rodbrowning
    @rodbrowning Pƙed rokem

    Show đŸ‘đŸŒđŸ‘đŸŒđŸ‘đŸŒ

  • @siriusjaeger2823
    @siriusjaeger2823 Pƙed rokem

    What Color Picker App are you using?

  • @MohamedElsayed02
    @MohamedElsayed02 Pƙed rokem

    can you type jsx with typescript, what I mean not to make all your videos typescript if you don't mind cuz I didn't learn it yet

    • @WebDevCody
      @WebDevCody  Pƙed rokem

      Sorry, I decided to always use ts for my videos. I’d recommend just learning a little bit about how you can add types to variables and you should be able to follow along

  • @solowolf5304
    @solowolf5304 Pƙed rokem

    what's the vs code theme that you are using ?

  • @blank3211
    @blank3211 Pƙed rokem

    what is the tool you use to get the width and height

  • @sahadpop4135
    @sahadpop4135 Pƙed rokem

    When to use module.css and just .css ??

    • @WebDevCody
      @WebDevCody  Pƙed rokem +1

      module will scope the styles to you component, so if you only need styles for your particular component, you could use a module

  • @Tijme
    @Tijme Pƙed rokem

    Hey hey, wouldn’t it have been better to use radio button?

    • @WebDevCody
      @WebDevCody  Pƙed rokem

      yes probably

    • @Tijme
      @Tijme Pƙed rokem

      @@WebDevCody it handles the active button for you. Just gotta change some styling. I was also wondering why you were using focus instead of active. When users use tab to navigate the site it would have looked like you selected it (because the button is orange)

  • @milosh4851
    @milosh4851 Pƙed rokem

    what is the name of this measurment tool on 6:53

    • @WebDevCody
      @WebDevCody  Pƙed rokem +2

      Screenshot tool build into mac

  • @LeagueJeffreyG
    @LeagueJeffreyG Pƙed rokem

    Lol I just flew through like 6 of these and im too scared to start applying

    • @WebDevCody
      @WebDevCody  Pƙed rokem

      If you feel confident in building out uis, might as well try to apply somewhwre

    • @LeagueJeffreyG
      @LeagueJeffreyG Pƙed rokem

      @@WebDevCody yeah my last interview was such a bad experience that I legit have imposter syndrome now

    • @WebDevCody
      @WebDevCody  Pƙed rokem

      @@LeagueJeffreyG what did they ask?

    • @LeagueJeffreyG
      @LeagueJeffreyG Pƙed rokem

      @@WebDevCody I was asked to-make a functioning version of wordlelol in 45 minutes

  • @adi_trades99
    @adi_trades99 Pƙed rokem

    Is this pewdiepie's smart cousin?

  • @TheMetalMag
    @TheMetalMag Pƙed rokem

    wow, the start is so fast it ain't for beginners! you need to know already react and be a good coder to understand what you are doing. I'm lost in two minutes!

  • @-sY.Nuclear
    @-sY.Nuclear Pƙed rokem

    how is this for begginers like you are using react bunch of json and stuff man dont bring newbies down

    • @WebDevCody
      @WebDevCody  Pƙed rokem

      I’ve been publishing react challenges. So this is more geared towards people learning react

  • @DerAchte8
    @DerAchte8 Pƙed rokem

    I wish I found frontend more interesting but to me it's fking boring I dont know how you guys do