How To Build A Flashcard Quiz With React

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 153

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

  • @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.

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

  • @khandoor7228
    @khandoor7228 4 роки тому +23

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

  • @rayblinks2me
    @rayblinks2me 2 місяці тому

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

  • @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.

  • @yudhiesh1997
    @yudhiesh1997 4 роки тому +2

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

  • @YousefSultan7
    @YousefSultan7 4 місяці тому

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

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

  • @mateuszanollach
    @mateuszanollach 7 місяців тому

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

  • @fantahuntube
    @fantahuntube 2 місяці тому

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

  • @unrank3d136
    @unrank3d136 2 роки тому +1

    Kyle always have the perfect tutorial I am looking for.

  • @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!

  • @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.

  • @konstantinreut2577
    @konstantinreut2577 10 місяців тому

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

  • @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.

  • @shankarchakkere2448
    @shankarchakkere2448 2 роки тому

    Better than many Udemy course I took

  • @santespro
    @santespro 4 роки тому +1

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

  • @wheelbegood
    @wheelbegood 4 роки тому +1

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

  • @AprilFaith
    @AprilFaith 4 роки тому +1

    This is amazing

  • @willysnowman
    @willysnowman 4 роки тому

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

  • @thedevlife
    @thedevlife 4 роки тому

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

  • @pizzapanni
    @pizzapanni 3 роки тому

    What keyboard do you use? It sounds so satisfying.

  • @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.

  • @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!

  • @bobkazamakis5169
    @bobkazamakis5169 3 роки тому

    Why to use instead of ?

  • @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?

  • @nanonkay5669
    @nanonkay5669 4 роки тому +7

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

  • @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 ?

  • @hassaneoutouaya
    @hassaneoutouaya Рік тому

    Thank you so much!

  • @digigoliath
    @digigoliath 4 роки тому

    Thanks. Great to have React projects!

  • @surajbande5841
    @surajbande5841 3 роки тому

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

  • @iUmerFarooq
    @iUmerFarooq 4 роки тому +1

    Can this project help us a little bit?

  • @rangabharath4253
    @rangabharath4253 4 роки тому +2

    Awesome as always 👍😀

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv 4 роки тому +4

    Please build on some project react and redux with api

  • @wongsengkuan9754
    @wongsengkuan9754 4 роки тому

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

  • @samgram5122
    @samgram5122 4 роки тому

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

  • @mentoringpokeronline2514
    @mentoringpokeronline2514 4 роки тому

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

  • @juhandvan
    @juhandvan 4 роки тому

    Very helpful. Thank you so much

  • @AnushaHariharan
    @AnushaHariharan 4 роки тому +7

    Can a react beginner watch this?

  • @iurii7752
    @iurii7752 4 роки тому

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

  • @abrahag40
    @abrahag40 4 роки тому +1

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

  • @maskman4821
    @maskman4821 4 роки тому

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

  • @yudhiesh1997
    @yudhiesh1997 4 роки тому

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

  • @haungotrung2351
    @haungotrung2351 Рік тому

    thanks a lot

  • @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.

  • @dejohnny2
    @dejohnny2 4 роки тому

    Kyle (Academy). I love this!

  • @whiskers08spot09
    @whiskers08spot09 4 місяці тому

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

  • @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.

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

  • @harijoel
    @harijoel Рік тому +1

    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

    • @callipygian1919
      @callipygian1919 Рік тому

      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 Рік тому

      @@callipygian1919 solved it, thanks

  • @mikemorrison8984
    @mikemorrison8984 4 роки тому

    Awesome. Thanks.

  • @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').

  • @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.

  • @kavithachellasamy2393
    @kavithachellasamy2393 2 роки тому +1

    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

  • @pallaviph8878
    @pallaviph8878 3 роки тому

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

  • @sphereman3572
    @sphereman3572 4 роки тому

    what is the back keyword?

  • @bradtramel9467
    @bradtramel9467 Рік тому

    i love you kyle

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

  • @jasonmccoy3073
    @jasonmccoy3073 11 місяців тому

    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

  • @nivaldopereira1839
    @nivaldopereira1839 Рік тому

    how could i convert it to react native?

  • @jessekela165
    @jessekela165 4 роки тому

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

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

  • @norbertaspapirtis2002
    @norbertaspapirtis2002 4 роки тому +5

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

  • @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);
      }

    • @Valcano96
      @Valcano96 Рік тому +1

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

    • @thekuzicartoon
      @thekuzicartoon Рік тому

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

  • @kunchanapallisrinivas2462
    @kunchanapallisrinivas2462 Рік тому

    bro can you send architecture of flash for mini project

  • @dolevdo
    @dolevdo 4 роки тому

    i love you man

  • @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.

  • @Programming-Fun-With-Hima
    @Programming-Fun-With-Hima 4 роки тому

    I love you, man

  • @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 4 роки тому +1

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

  • @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);
      }

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

  • @christiandejesuslopezherna6695
    @christiandejesuslopezherna6695 3 роки тому

    crack, fiera, maquina!

  • @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.

  • @lhesterantolin2557
    @lhesterantolin2557 4 роки тому

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

  • @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.

  • @JakariaHossen-dc9rg
    @JakariaHossen-dc9rg 9 місяців тому

    33:00

  • @codingknowledge8183
    @codingknowledge8183 2 роки тому

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

  • @MstSumit7
    @MstSumit7 3 роки тому

    I want flashcards source code for college project purpose

  • @__vicci
    @__vicci 4 роки тому

    epic !

  • @codersdance
    @codersdance 2 роки тому

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

  • @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........

  • @sommie4935
    @sommie4935 4 роки тому

    grid content with dynamic height = messy

  • @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.

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

  • @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.

  • @ankitmehrotra8519
    @ankitmehrotra8519 4 роки тому

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

  • @Pinky0579
    @Pinky0579 4 роки тому

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

  • @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.

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

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

  • @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.

  • @bigfatcrab
    @bigfatcrab 4 роки тому +2

    his eyes were literally shining