How To Build A Flashcard Quiz With React

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024

ความคิดเห็น • 153

  • @WungaBungaMC
    @WungaBungaMC ปีที่แล้ว +4

    Dude I just watched this whole thing in the regular bing search because I was expecting to only be watching for a second. Wow, very thankful for this tutorial.

  • @rayblinks2me
    @rayblinks2me 11 วันที่ผ่านมา

    Years later, and this is still a great tutorial, thank you.

  • @khandoor7228
    @khandoor7228 4 ปีที่แล้ว +23

    Kyle i enjoy your work on this channel, keep it practical, I use a lot of your techniques!! thanks man

  • @AlvaroVelozBrito
    @AlvaroVelozBrito 3 ปีที่แล้ว +3

    This guy explains better than many other pluralsight teachers, Congratulations !!

    • @soggysunshine8700
      @soggysunshine8700 3 ปีที่แล้ว +2

      My neighbor is the CEO of Pluralsight. I'll be sure to tell him

  • @maplestoryinchinese
    @maplestoryinchinese 4 ปีที่แล้ว +16

    Just finished a react course so perfect timing!

    • @jonasjo9091
      @jonasjo9091 4 ปีที่แล้ว +1

      can you tell me please the name of the course??

    • @maplestoryinchinese
      @maplestoryinchinese 4 ปีที่แล้ว

      @@jonasjo9091 there's a shit ton of courses online go find them

  • @YousefSultan7
    @YousefSultan7 2 หลายเดือนก่อน

    another amazing video by Kyle Cook , what a tutor!
    you're the best man

  • @gillianbc
    @gillianbc 3 ปีที่แล้ว +6

    Some valuable lessons here, not just specific to React. Break it down into small features. Build a vertical slice that gets the basics of the app flow working then add detail to flesh out the functionality. This used to be called 'top-down-design' when I did a programming degree (many moons ago now), but the principles are the same.

  • @mateuszanollach
    @mateuszanollach 5 หลายเดือนก่อน

    Thanks for including the CSS as well. All together makes this one of the best tutorials I've ever seen in yt. Cheers!

  • @patrickneff7846
    @patrickneff7846 2 ปีที่แล้ว +3

    Kyle, this is fantastic. Thank you so much. I am definitely going to purchase some of your paid courses after working through that. 11/10

  • @fantahuntube
    @fantahuntube หลายเดือนก่อน

    you are so amazing kyle. I am starting to learn react and i will pick this for practice.

  • @yudhiesh1997
    @yudhiesh1997 4 ปีที่แล้ว +2

    Thanks just started learning react this week and was looking for tutorials that used hooks.

  • @unrank3d136
    @unrank3d136 2 ปีที่แล้ว +1

    Kyle always have the perfect tutorial I am looking for.

  • @nanonkay5669
    @nanonkay5669 4 ปีที่แล้ว +7

    This guy is a wizard. "Ye a wizard, Kyle"

  • @dylanc4762
    @dylanc4762 3 ปีที่แล้ว +2

    This was an awesome tutorial, Kyle! I appreciate you sharing it. These techniques will definitely help me with my personal web projects.

  • @SiddiqNx
    @SiddiqNx 4 ปีที่แล้ว +12

    I guess we could skip the JS part to calculate the height of each card, if we use grid instead of absolute positioning. Basically, apply
    - `display: grid` on `.card`
    - `grid-area: 1 / 1 / 2 / 2` on `.card .front, .card.back`
    so that they are placed one over the other. I think the height will be calculated based on the largest element, but someone should confirm this. And, then you can rotate the `.back` 180 deg and it should work.

    • @WebDevSimplified
      @WebDevSimplified  4 ปีที่แล้ว +1

      That sounds like a much better solution!

  • @CarlitoProductions
    @CarlitoProductions 3 ปีที่แล้ว

    i catch myself speaking words from random languages lately, and this would be a cool thing for people to learn new language words from images. I'll keep this in the watch later to reference it! thanks for the tutorial

  • @jesuscruz8008
    @jesuscruz8008 2 ปีที่แล้ว

    Just watched this still an amzing tutorial keep helping others boss appreciate guys like you!

  • @wheelbegood
    @wheelbegood 4 ปีที่แล้ว +1

    You are great at explaining and I am very hooked on reactJS now :))

  • @rangabharath4253
    @rangabharath4253 4 ปีที่แล้ว +2

    Awesome as always 👍😀

  • @AprilFaith
    @AprilFaith 4 ปีที่แล้ว +1

    This is amazing

  • @konstantinreut2577
    @konstantinreut2577 8 หลายเดือนก่อน

    Kyle, thanks a lot for you share with us all these valuable knowledge!

  • @willysnowman
    @willysnowman 4 ปีที่แล้ว

    Thank you very much!! Your classes really helped!!! More videos like this please.

  • @studywithrobin2715
    @studywithrobin2715 3 ปีที่แล้ว

    @20:46 mark, just saving my spot. I got an idea for a project I can build to showcase my skills and that 3d animation is what I was looking for, but I may do a vertical flip, like on Quizlet.

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv 4 ปีที่แล้ว +4

    Please build on some project react and redux with api

  • @thedevlife
    @thedevlife 4 ปีที่แล้ว

    Great tutorial. I love react. You gave me inspiration to create a react tutorial on my channel.

  • @shankarchakkere2448
    @shankarchakkere2448 ปีที่แล้ว

    Better than many Udemy course I took

  • @jdevcast6527
    @jdevcast6527 4 ปีที่แล้ว

    It was a really interesting and useful tutorial. I appreciate your time spent on it.

    • @jdevcast6527
      @jdevcast6527 4 ปีที่แล้ว

      No problems in Firefox, but I have an issue in Chrome. When I flip the cards some of them turn blank (different cards each time). Then, when I hover over them, the answer appears briefly. Is it something to do with the backface visibility. I'm stumped!

  • @santespro
    @santespro 4 ปีที่แล้ว +1

    Hi Kyle!
    This was a very helpful tutorial. But I gotta ask, where do you find all these project ideas?

  • @surajbande5841
    @surajbande5841 3 ปีที่แล้ว

    Kyle, Thanks a lot for this great content! Highly appreicate your efforts!

  • @hassaneoutouaya
    @hassaneoutouaya ปีที่แล้ว

    Thank you so much!

  • @wongsengkuan9754
    @wongsengkuan9754 4 ปีที่แล้ว

    I'm so happy to see you again ❤❤❤

  • @digigoliath
    @digigoliath 4 ปีที่แล้ว

    Thanks. Great to have React projects!

  • @TheGameWhv
    @TheGameWhv 4 ปีที่แล้ว

    Thank you so much Kyle for this tutorial. When looking at the code, I was unsure about why you put in the max-width for the .container class. Could you explain, why we need to limit the container to a certain width?

  • @iurii7752
    @iurii7752 4 ปีที่แล้ว

    Thank you for your hard work, you are the best :)

  • @juhandvan
    @juhandvan 4 ปีที่แล้ว

    Very helpful. Thank you so much

  • @norbertaspapirtis2002
    @norbertaspapirtis2002 4 ปีที่แล้ว +5

    Please try to use different naming
    {flashcards.map(flashcard => {
    return
    })}
    its super confusing

  • @maskman4821
    @maskman4821 4 ปีที่แล้ว

    Kyle should creat a music player project with vanilla js, it will be cool to build one for everyone else !!!

  • @dejohnny2
    @dejohnny2 4 ปีที่แล้ว

    Kyle (Academy). I love this!

  • @samgram5122
    @samgram5122 4 ปีที่แล้ว

    Could you possibly talk more about the tools you use such as "axios?"

  • @baderkevinbrian2431
    @baderkevinbrian2431 4 ปีที่แล้ว

    Hi Kyle! Do you have any video where you explain why you prefer to work with function components in React instead of class components ?

  • @pizzapanni
    @pizzapanni 3 ปีที่แล้ว

    What keyboard do you use? It sounds so satisfying.

  • @yudhiesh1997
    @yudhiesh1997 4 ปีที่แล้ว

    Could you make a video about making a real time chat application with the backend connected?

  • @greg6094
    @greg6094 4 ปีที่แล้ว +4

    Woah, cloned the repo and ran it, the flips still show the back (backface-visibility) in Firefox 75.0, any idea why or how to identify and avoid such limitations going forward?

    • @curtischadwell618
      @curtischadwell618 3 ปีที่แล้ว

      I was wondering if I was the only one seeing this happen

    • @gloryness
      @gloryness 2 ปีที่แล้ว +1

      Sadly, it's a known bug in firefox... for at least 7 years now.

  • @haungotrung2351
    @haungotrung2351 ปีที่แล้ว

    thanks a lot

  • @bradtramel9467
    @bradtramel9467 ปีที่แล้ว

    i love you kyle

  • @abrahag40
    @abrahag40 3 ปีที่แล้ว +1

    I did exactly the same but I get next error:
    Cannot read property 'map' of undefined
    Any idea?

  • @AnushaHariharan
    @AnushaHariharan 4 ปีที่แล้ว +7

    Can a react beginner watch this?

    • @nerdophile6945
      @nerdophile6945 4 ปีที่แล้ว +1

      Yes, you can it's pretty basic !!

  • @bobkazamakis5169
    @bobkazamakis5169 3 ปีที่แล้ว

    Why to use instead of ?

  • @whiskers08spot09
    @whiskers08spot09 3 หลายเดือนก่อน

    Im not understanding how setHeight is actually changing the height. In state, the height variable is unused.

  • @mikemorrison8984
    @mikemorrison8984 4 ปีที่แล้ว

    Awesome. Thanks.

  • @bigfatcrab
    @bigfatcrab 4 ปีที่แล้ว +2

    his eyes were literally shining

  • @deadpixel08
    @deadpixel08 4 ปีที่แล้ว

    You can avoid making your own decode string function by using the he library. It is already included as a module by default so just import it and decode a string by using he.decode('your string').

  • @iUmerFarooq
    @iUmerFarooq 4 ปีที่แล้ว +1

    Can this project help us a little bit?

  • @EvanJones319
    @EvanJones319 ปีที่แล้ว

    at 14:31, you appear to have removed any mechanism to connect the front and back classes to the flip state. This is pretty confusing as you are losing the key functionality at this juncture. I'm sure you resolve it later somehow, but it seems like poor process to not have this functioning before moving on.

  • @carlosnucette6927
    @carlosnucette6927 4 ปีที่แล้ว

    Hi, You almost lost me when you were calculating the height of the elements, because it got very complicated for me. I solved that in a different way. I remove all the flex related properties from the .card element, then I removed the position: absolute from the .front element, and added position: absolute, top: 50%, left: 50%, and translate(50%, -50%) to the .back element.

  • @codingexpedition4625
    @codingexpedition4625 4 ปีที่แล้ว +1

    I'm still quit new considering React. What is the reason that we don't put the whole header section in a separate React component?

    • @devanshdwivedi8893
      @devanshdwivedi8893 4 ปีที่แล้ว

      Yeah you're right, it should be in a self contained component, I think he just wanted to breeze by the concepts of the video and just didn't bother creating a separate component.

  • @vedantjha2327
    @vedantjha2327 4 ปีที่แล้ว

    Hi Kyle, i never miss ur video. I want to take ur react course for my semester project. But I can't afford it , it's too expensive in indian rupees. If u could help me i will be glad. And this video is great as always. Thanks for the youtube videos.

    • @WebDevSimplified
      @WebDevSimplified  4 ปีที่แล้ว +3

      Hi. If you send me a message on my course platform which is linked in the description I can help you out.

    • @vedantjha2327
      @vedantjha2327 4 ปีที่แล้ว

      @@WebDevSimplified thanks. I sent u a message

    • @murad40
      @murad40 2 ปีที่แล้ว +1

      @@WebDevSimplified wow bro, it's a great move. Respect

  • @HabeshaDeveloper
    @HabeshaDeveloper 4 ปีที่แล้ว

    heyy there i always watch your tutorials they are very useful thanks for that .... i have a question for you ... i made back-end server with node.js and when i try it with postman it works perfectly it shows json data and i used it for android app ... and now i want this server to make webapp and i'm afraid that when i use same link for the android app i used the json data comes and anyone can use postman and get all the data and that's bad right? so how can hide the json data from user.
    Sorry for my english

  • @Programming-Fun-With-Hima
    @Programming-Fun-With-Hima 4 ปีที่แล้ว

    I love you, man

  • @mentoringpokeronline2514
    @mentoringpokeronline2514 3 ปีที่แล้ว

    hi, nice job, dummy question: can be this run on google appscript and embed into a google docs?

  • @qwan1
    @qwan1 4 ปีที่แล้ว

    Hi WebDev simplified, I enjoy your content. But just as a note, your statement about keys preventing rerendering is incorrect. Keys are used in *reconcilation* not re-rendering. Keys are also often used in practice to hint React on when to destroy and re-construct a class component (when keys changed)

  • @jasonmccoy3073
    @jasonmccoy3073 10 หลายเดือนก่อน

    Don't know what I am doing wrong but I only get a blank page. Don't know how to get the dev build to show the flashcards

  • @Omega-ll4tx
    @Omega-ll4tx ปีที่แล้ว

    Can you at least at another component part 2. so, we have an SRS and then add audio file?

  • @الادهم-ص2ظ
    @الادهم-ص2ظ 4 ปีที่แล้ว

    thank u very much need to lear matching by line game

  • @dolevdo
    @dolevdo 4 ปีที่แล้ว

    i love you man

  • @jessekela165
    @jessekela165 4 ปีที่แล้ว

    How do you separate the "Control" form into it's own component and pass data from there to App?

  • @pallaviph8878
    @pallaviph8878 3 ปีที่แล้ว

    This is working fine in Firefox. Not working in chrome and safari

  • @williamlowry
    @williamlowry 4 ปีที่แล้ว +1

    anyone have any idea why I'm getting the following error and the card isn't flipping? *Custom property ignored: not scoped to the top-level :root element
    .card.flip {
    --rotate-y: 180deg;
    } *

    • @williamlowry
      @williamlowry 4 ปีที่แล้ว

      Nevermind, I figured it out. I'm using Gatsby and that was giving me some problems. I didn't need to use a variable for the Y rotation. Instead, I used
      .card.flip {
      transform: rotateY(180deg);
      }

  • @kunchanapallisrinivas2462
    @kunchanapallisrinivas2462 ปีที่แล้ว

    bro can you send architecture of flash for mini project

  • @crystalfecteau9333
    @crystalfecteau9333 4 ปีที่แล้ว +1

    Anyone else having trouble with the flip animation? Preserve 3d is not working for me, I can still see both the front and back of the card.

    • @iminimueller
      @iminimueller 3 ปีที่แล้ว +1

      where you able to solve this? I'm having the same issue! Thanks!

  • @kavithachellasamy2393
    @kavithachellasamy2393 2 ปีที่แล้ว

    Can anyone help with the issue which I am facing on the video timer ?[9.58 ] when i edit the question and save the changes as shown in the video. the browser is not refreshing in the flashCard. When I add some h1 tag in app.js itself and edit the text, the browser is refreshing. React version is ^18.2 I know it may seem to be a simple Issue. Solutions Appreciated. Thanks

  • @lhesterantolin2557
    @lhesterantolin2557 3 ปีที่แล้ว

    Good day! Permission to use your video as as resource to my Google site.. Thank you and God bless :)

  • @nivaldopereira1839
    @nivaldopereira1839 10 หลายเดือนก่อน

    how could i convert it to react native?

  • @christiandejesuslopezherna6695
    @christiandejesuslopezherna6695 3 ปีที่แล้ว

    crack, fiera, maquina!

  • @Jelena1991Zeka
    @Jelena1991Zeka 4 ปีที่แล้ว

    Hi, great video man. I have a question when i flip a card i don't have the effect of 3d-preserve? i see the number 4 and rotate text.

    • @Jelena1991Zeka
      @Jelena1991Zeka 4 ปีที่แล้ว

      Omg, it was because of firefox, on chrome and IE it is ok. -.-

    • @thekuzicartoon
      @thekuzicartoon 3 ปีที่แล้ว +2

      @@Jelena1991Zeka to fix on firefox:
      add
      .card .front{
      transform: rotateY(0deg);
      }

    • @valeriedubach882
      @valeriedubach882 ปีที่แล้ว +1

      @@thekuzicartoon thank you so much, this was my exact problem.

    • @thekuzicartoon
      @thekuzicartoon ปีที่แล้ว

      @@valeriedubach882 you are very welcome! just paying it forward ⏩ !

  • @harijoel
    @harijoel ปีที่แล้ว

    can anyone share how would you break it down into more components, such as a component for the header, and then category select... I tried doing this and exporting useRef variables but got some errors

    • @hollis.newgrass
      @hollis.newgrass ปีที่แล้ว

      read the new official react documentation. most tutorials on youtube, including this one, are teaching some bad habits when it comes to the usage of useEffect

    • @harijoel
      @harijoel ปีที่แล้ว

      @@hollis.newgrass solved it, thanks

  • @sphereman3572
    @sphereman3572 4 ปีที่แล้ว

    what is the back keyword?

  • @mustafasalih5328
    @mustafasalih5328 4 ปีที่แล้ว +2

    Yayyyyy "my name is Kyle andmy job is to simplify the web 4 u"❤🌈🌈🦄

  • @CodeWithSajjan
    @CodeWithSajjan 4 ปีที่แล้ว

    hey bro i am 14year old boy i love to watch your videos and i've learned many much from you. I request you to please create a seperate video on how to posts using markdown. I'ld love if u create that........

  • @stephenmordeno2508
    @stephenmordeno2508 4 ปีที่แล้ว

    Hi, I'm quite new at React and I'm having problems at 9:29 saying "Parsing error: Unexpected token". Does somebody know how to fix this? Thanks.

  • @chemedev
    @chemedev 4 ปีที่แล้ว

    Hum the backface-visibility or maybe the transform-style property does not work correctly in last FirefoxDev version... accordingly to caniuse.com they should but nevertheless they don't... any ideas? Tried prefix but nothing happen...

    • @richardme123
      @richardme123 4 ปีที่แล้ว +1

      Hey, if you put backface visibility on .card .front, .card .back as well and then copy the padding, height, width, border-radius box- shadow and the alignment into .card .back it should work

    • @chemedev
      @chemedev 4 ปีที่แล้ว

      @@richardme123 Thanks, I actually solved adding this selector:
      .card.flip .front {
      opacity: 0;
      }
      It should work using opacity, display or visibility... also top:50%; transform translate(-50%); but the other 3 are simplier.

  • @JakariaHossen-dc9rg
    @JakariaHossen-dc9rg 7 หลายเดือนก่อน

    33:00

  • @MstSumitSingh
    @MstSumitSingh 3 ปีที่แล้ว

    I want flashcards source code for college project purpose

  • @code_magpie
    @code_magpie 2 ปีที่แล้ว

    Pretty sure this video wasn't form 👉 "WEB DEV SIMPLIFIED" but from 👉 "WEB DEV COMPLICATED" Anyway thanks if it was simple for others.

  • @codingknowledge8183
    @codingknowledge8183 2 ปีที่แล้ว

    if you have used bootstrap here then lots of time can be saved

  • @__vicci
    @__vicci 3 ปีที่แล้ว

    epic !

  • @aammssaamm
    @aammssaamm 4 ปีที่แล้ว

    If you loop through an array how the array index cannot be unique? Besides you can always run your own increment. Date should not be used in this case.

  • @sommie4935
    @sommie4935 4 ปีที่แล้ว

    grid content with dynamic height = messy

  • @igorrudkovskiy8336
    @igorrudkovskiy8336 4 ปีที่แล้ว

    Was not able to get right api with params, don't know why. If somebody have the same problem just .get this api `opentdb.com/api.php?amount=${amountEl.current.value}&category=${categoryEl.current.value}` without params

  • @maskman4821
    @maskman4821 4 ปีที่แล้ว

    ReactJs is cool, it dominates US job markets, but I think Svelte will surpass React sooner or later, because Mr. Rich Harris, the creator Of Svelte, make Svelte a much better development tool / language / tech, and it is so easy to learn and get started/acquainted and is much powerful than ReactJS. Mr. Rich Harris apparently knows programming better than Facebook, I am sure people will love Svelte and fully embrace it pretty soon, It is time for ReactJs to take a rest / step aside !!!

    • @aammssaamm
      @aammssaamm 4 ปีที่แล้ว

      There is no difference between all these frameworks which are basically inconvenient backend style templating tools with manual data binding and inline js code.

  • @ankitmehrotra8519
    @ankitmehrotra8519 4 ปีที่แล้ว

    Getting Forbidden Error: You don't have permission to access /api_count_global.php on this server.

  • @EvanJones319
    @EvanJones319 ปีที่แล้ว

    I don't understand what you mean when you say "I'm destructing that all the way up here." It would be better if you just use props or else explain what you are doing better.

    • @EvanJones319
      @EvanJones319 ปีที่แล้ว

      It would have been far less confusing if where you set your useState you had a different name for the current state than 'flashcards' because when you write flashcards = {flashcards} we don't know which side of the equation is what. Same when you do the same thing in passing props to the flashcard component.

  • @Pinky0579
    @Pinky0579 4 ปีที่แล้ว

    it is not free, man... they ask for your credit card

  • @Pinky0579
    @Pinky0579 4 ปีที่แล้ว

    those extensions that make coding faster, like rfc creating the code, are not good for beginners... beginners need to type as much as they can because they need to memorize things
    BUT lets be honest, these video are just entertainment and advertisement for your courses.. who really wants to learn goes to the computer and types npx create-react-app and starts playing around

  • @curuzu
    @curuzu 4 ปีที่แล้ว

    Too much magic, nice video but please use ";" ! I can't take it not seeing them!

    • @LOLmomentsandfails
      @LOLmomentsandfails 4 ปีที่แล้ว

      theyre not required in javascript as opposed to Java or a C language.

    • @curuzu
      @curuzu 4 ปีที่แล้ว

      @@LOLmomentsandfails I know, but it is a good practice to use them, you aware the interpreter about the ending of a statement

    • @baderkevinbrian2431
      @baderkevinbrian2431 4 ปีที่แล้ว

      He could just install Prettier - Code Formatter, that does everything for you, no matter the extension.

    • @aammssaamm
      @aammssaamm 4 ปีที่แล้ว

      @@curuzu Not in React.

    • @curuzu
      @curuzu 4 ปีที่แล้ว

      @@aammssaamm not in JSX, apart from that react is only javascript, the same rules are applied

  • @aammssaamm
    @aammssaamm 4 ปีที่แล้ว

    Another great example of React's incapability to build simple things in a simple way. Textarea is ridiculous.

    • @konfcyus4865
      @konfcyus4865 4 ปีที่แล้ว +1

      He just appends api data to a textarea and pulls out the value, seemed like a practical way. How else would you do it?

    • @aammssaamm
      @aammssaamm 4 ปีที่แล้ว

      @@konfcyus4865 You may want to read Javascript documentation.

    • @konfcyus4865
      @konfcyus4865 4 ปีที่แล้ว +1

      @@aammssaamm I took your very helpful advice and looked up few links , his way comes up in most of them its either that or using regex or jquery.
      Do you have a better solution or should i keep reading documentaion maybe im missing something
      www.w3resource.com/javascript-exercises/javascript-string-exercise-35.php
      javascriptkit.com/script/script2/removehtml.shtml
      stackoverflow.com/questions/822452/strip-html-from-text-javascript

    • @aammssaamm
      @aammssaamm 4 ปีที่แล้ว

      @@konfcyus4865 If you cannot manage such a simple task you need to hire a mentor.

  • @tambolaking5383
    @tambolaking5383 4 ปีที่แล้ว

    Not too cool bro. Too basic.