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

Поделиться
HTML-код
  • Опубликовано: 23 авг 2024
  • 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.web...
    📁 GitHub github.com/web...
    📺 Twitch / webdevcody
    🤖 Website webdevcody.com
    🐦 Twitter / webdevcody

Комментарии • 118

  • @fakhrulradzi8536
    @fakhrulradzi8536 Год назад +78

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

  • @iamtharunraj
    @iamtharunraj 3 месяца назад

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

  • @mamoutif1573
    @mamoutif1573 Год назад +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 3 месяца назад

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

  • @eren1514
    @eren1514 Год назад +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  Год назад +5

      I might do more of these, it was fun!

  • @haze4828
    @haze4828 Год назад +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  Год назад +2

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

  • @ichiroutakashima4503
    @ichiroutakashima4503 Год назад +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.

  • @franinja080
    @franinja080 Год назад +1

    This channel has been great lately, good job!

  • @Callumkloos
    @Callumkloos Год назад +1

    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 :)

  • @ChrisHenke
    @ChrisHenke Год назад +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  Год назад +2

      yeah that's a good idea

    • @yongfengye
      @yongfengye 8 месяцев назад

      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

  • @amershboul9107
    @amershboul9107 Год назад +1

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

  • @rand0mtv660
    @rand0mtv660 Год назад +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.

  • @bugamarian
    @bugamarian Год назад +1

    This is so good! Please do more! ❤

  • @shakapaker
    @shakapaker Год назад

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

  • @SeibertSwirl
    @SeibertSwirl Год назад +3

    Good job babe!!!!

  • @ocarrott8664
    @ocarrott8664 Год назад +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  Год назад

      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.

  • @xbsidesx
    @xbsidesx Год назад +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 Год назад

    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

  • @TheSourLemonz
    @TheSourLemonz Год назад

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

  • @WebDevwithTed
    @WebDevwithTed Год назад

    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

  • @krismatic_
    @krismatic_ Год назад

    This is seriously good content.

  • @ludanjubara
    @ludanjubara Год назад +1

    More advanced challenges would be welcome :)

  • @parkersmith7522
    @parkersmith7522 Год назад +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  Год назад +1

      nice thanks for pointing that out for me!

    • @ludanjubara
      @ludanjubara Год назад +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 👍

  • @MrStresnes
    @MrStresnes Год назад

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

  • @voldemortvi4264
    @voldemortvi4264 Год назад +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  Год назад

      The thing is both work to make a circle round 😂

    • @voldemortvi4264
      @voldemortvi4264 Год назад

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

  • @poloiaish6281
    @poloiaish6281 Год назад

    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  Год назад

      I have a video about vscode shortcuts

  • @saxprophet3602
    @saxprophet3602 Год назад

    I love the fact that you were real👍

  • @sumitmehra5119
    @sumitmehra5119 Год назад

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

  • @nawazpasha3904
    @nawazpasha3904 Год назад +1

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

  • @rdefazio
    @rdefazio Год назад

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

  • @darelbvcr687
    @darelbvcr687 Год назад +2

    Can u make simple next13 typescript tailwind project ?

  • @kimbapslayer1995
    @kimbapslayer1995 Год назад

    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  Год назад +1

      Yeah I’m kind of hooked at it as well

  • @KuroBayashi
    @KuroBayashi Год назад +1

    Hello, why using 5 buttons when exist ?

    • @WebDevCody
      @WebDevCody  Год назад

      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

  • @r4rbit
    @r4rbit Год назад

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

    • @WebDevCody
      @WebDevCody  Год назад +1

      Bearded theme stained blue

  • @adi_trades99
    @adi_trades99 Год назад

    Is this pewdiepie's smart cousin?

  • @handsome_man69
    @handsome_man69 Год назад

    Handsome man

  • @mordredee213
    @mordredee213 Год назад

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

    • @WebDevCody
      @WebDevCody  Год назад

      I use the default font, probably whatever mac provides

    • @mordredee213
      @mordredee213 Год назад

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

  • @johnmurphy7274
    @johnmurphy7274 Год назад

    Damn how did you master front end cool.

  • @flemingCT
    @flemingCT Год назад

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

    • @WebDevCody
      @WebDevCody  Год назад +1

      Mac workspaces three finger swipe

  • @pattaratornseeduang6407
    @pattaratornseeduang6407 Год назад

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

  • @boymetevil5403
    @boymetevil5403 Год назад +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  Год назад +1

      build into mac, it's the screenshot tool

    • @boymetevil5403
      @boymetevil5403 Год назад

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

  • @vanilla4064
    @vanilla4064 Год назад

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

    • @WebDevCody
      @WebDevCody  Год назад +1

      screen shot tool built into mac

    • @vanilla4064
      @vanilla4064 Год назад

      @@WebDevCody oh, ok. Thank you!

  • @neksbr1
    @neksbr1 Год назад

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

    • @WebDevCody
      @WebDevCody  Год назад

      bearded theme stained blue theme with breaded icons

  • @HollowsDarkness
    @HollowsDarkness Год назад

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

  • @StrikerFeed
    @StrikerFeed Год назад

    what extension for icons in your sidebar are you using?

  • @twismfamily
    @twismfamily Год назад

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

  • @Tijme
    @Tijme Год назад

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

    • @WebDevCody
      @WebDevCody  Год назад

      yes probably

    • @Tijme
      @Tijme Год назад

      @@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)

  • @sambit7099
    @sambit7099 Год назад +1

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

  • @sharadtiwari6768
    @sharadtiwari6768 Год назад

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

  • @brettRaper1996
    @brettRaper1996 Год назад

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

  • @GetushaHD
    @GetushaHD Год назад

    I loved the file icons what's the name?

  • @lauris5275
    @lauris5275 Год назад

    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  Год назад

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

  • @rodbrowning
    @rodbrowning Год назад

    Show 👏🏼👏🏼👏🏼

  • @MohamedElsayed02
    @MohamedElsayed02 Год назад

    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  Год назад

      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

  • @nicolasmayorga8288
    @nicolasmayorga8288 Год назад

    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

  • @LeagueJeffreyG
    @LeagueJeffreyG Год назад

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

    • @WebDevCody
      @WebDevCody  Год назад

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

    • @LeagueJeffreyG
      @LeagueJeffreyG Год назад

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

    • @WebDevCody
      @WebDevCody  Год назад

      @@LeagueJeffreyG what did they ask?

    • @LeagueJeffreyG
      @LeagueJeffreyG Год назад

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

  • @chrismolina6483
    @chrismolina6483 Год назад

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

  • @siriusjaeger2823
    @siriusjaeger2823 Год назад

    What Color Picker App are you using?

  • @sahadpop4135
    @sahadpop4135 Год назад

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

    • @WebDevCody
      @WebDevCody  Год назад +1

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

  • @sardorchallenges
    @sardorchallenges Год назад

    What icon extension in VSCode do you use?

  • @solowolf5304
    @solowolf5304 Год назад

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

  • @milosh4851
    @milosh4851 Год назад

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

    • @WebDevCody
      @WebDevCody  Год назад +2

      Screenshot tool build into mac

  • @blank3211
    @blank3211 Год назад

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

    • @WebDevCody
      @WebDevCody  Год назад

      screen capture build into mac

    • @blank3211
      @blank3211 Год назад

      @@WebDevCody ok thank you

  • @-sY.Nuclear
    @-sY.Nuclear Год назад

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

    • @WebDevCody
      @WebDevCody  Год назад

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

  • @TheMetalMag
    @TheMetalMag Год назад

    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!

  • @DerAchte8
    @DerAchte8 Год назад

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