Build a JavaScript Memory Match Game - NO frameworks or libraries!!

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ส.ค. 2022
  • You don’t need a JavaScript framework to build something fun! In this video, let’s create a Pokemon memory match game with vanilla HTML, CSS, and JavaScript. No frameworks or libraries!
    ** Sponsor **
    Agora.io provides everything you need to build a complete real-time experience with video + voice calling, real-time messaging and much more with just a few lines of code.
    Try out Agora today! bit.ly/3OllYcZ
    ** Source code ***
    github.com/jamesqquick/javasc...
    ** Resources **
    PokeAPI - pokeapi.co/
    Flipping Animation Tutorial - • CSS Flip Card Effect
    Florin Pop Pokedex Tutorial - • PokeDex - JavaScript T...
    STAY IN TOUCH 👋
    Check out the Podcast - compress.fm
    Newsletter 🗞 - www.jamesqquick.com/newsletter
    Live streams on Twitch 🖥️ - / jamesqquick
    Follow me on Twitter 🐦 - / jamesqquick
    QUESTIONS...?
    Join the Discord Server 💬 - / discord
    Want to know what hardware and software I use? www.jamesqquick.com/uses
    Learn Web Development 📖 - www.jamesqquick.com/courses

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

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

    Really enjoyed this, James. It's a good reminder that good ol' standard JS is tons of fun!

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

      Yeah! I love these types of demos!

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

    This is just an amazing guide James!! 😍😍

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

    Great tutorial. Thanks and all the best from UK.

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

    Thanks for this. I learned a ton of new things like the rotating css stuff and also the map and spread stuff. btw, i did actually code along with the video..a ton of fun ;-)

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

      So glad to hear that. Glad you enjoyed it :)

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

    I haven’t even watched the video yet, but I’ve already hit the like button. You’re awesome James 👏

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

      Haha thanks for the super

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

      Support* lol

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

      Yes. This is super support brother 🙏

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

      @@sayeghjoe Thanks for sticking with me through the typos 🤣

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

    Nice project and nice Thumbnail, James ✌🏻

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

      Thanks! I had a lot of fun with this one

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

    Very nice video I made the game for my daughter she loves it. Thanks very much for your content would love to see more vanilla JavaScript projects using rapidApi.

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

    Looks awesome!

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

    Hi, Nice Video, i watched a few of this Memory Game video's everyone is handling it an other way but this one is very neat and smooth coded.
    A-special the await Promise.all section i never got this running right bc i don't understood the usage 😄
    But now i got it 🙂
    Thanks and it was very educative again

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

      Glad you got it figured out!

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

    nice james!

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

    im building this one next thanks !

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

      Let me know how you enjoy it :)

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

    Nice! It'd be cool to see the exact same, but in Svelte instead to get a good comparison between vanilla and Svelte.

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

      I’ll add that to the backlog

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

    Great content as always, James!
    For more ideas 💡, I would like to learn projects that include sound effects & music!
    ( 🎶 including sources for sounds and music for game development 🎼 )

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

      Yeah that's such a good idea!

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

    Hey thanks, this was fun indeed. You're explaining the JS very nicely.
    1 thing I don't understand - maybe someone can explain:
    Why would the CSS position-property on .card need to be relative? I cannot find a good reason in Docs/Specs as it acts as if static without top/left/bottom/right-shifts...

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

    I loved it and so did my child after playing the game!! How does one add a dropdown list with different sizes grid? For example 4x6 or 6x6

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

      You could handle that with a media query if you wanted!

  • @AhmedAli-go7wx
    @AhmedAli-go7wx ปีที่แล้ว

    nice work ,

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

    It was driving me crazy with the missing H2 tag close.. until you did it. Lol

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

    i need to learn js and html5 css3 because trying to learn how to make my own game afterwards with a framework

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

    would be cool to release like.. a pseudocode so learners can take a stab or writing their own off some psuedocode and then watch the video to see if we did it or what we may be stuck on

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

    Why doesn't this boiler plate thing work?

  • @david-holmes
    @david-holmes ปีที่แล้ว

    Boilerplate extension fails for me with "Cannot read properties of undefined (reading '0')".

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

      Ah that's helpful! I wonder if I'm not searching through folder structures correctly or something. Did you have a project open already?

    • @david-holmes
      @david-holmes ปีที่แล้ว

      @@JamesQQuick no projects open. I also updated and restarted. Something else I can check?

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

    i wanted to use not pokemon but warhammer and cant find an api ,f

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

    Love the tutorial, however, around 19:51 I'm getting an error where const game = document.getElementById('game') gives the error of ReferenceError: document is not defined.
    From what I've tried to solve, document.getElementById is not possible due to using node.js. I tried to use the exact code you wrote on another project file without node, but I am getting the same error.
    Furtheremore:
    "The most common reason for this error is because you're using Node. That is to say, you are trying to access the document object on the server, but the server does not have access to the document object because it lives on the browser. Node is a server-side runtime so if you're on Node, you cannot reference the document object, which is an in-memory representation of the Document Object Model. That also includes when you're doing server-side rendered applications, which can sometimes have universal code that can run on both the server and the browser."
    The above is basically the fundamental problem, but is there some way we can still work around this?

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

      Yeah I'm not sure what your setup is, but the document APIs are only available in the browser not in Node.js. Node.js doesn't have any concept of the DOM.

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

      @@JamesQQuick Thank you for the response! Loved the in-depth video and learned a lot from it.

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

    hi james, I like your vs-code theme, did you customized it by yourself, if not, can you name it please, becuase is not Cobalt2 as what your website says, and thanks, (sending my support♥, keep doing your magic)

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

      Hey there! Right now I'm using Shades of Purple and Midnight Synth :)

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

      @@JamesQQuick Tnx james

  • @user-qp6yp4qk9i
    @user-qp6yp4qk9i ปีที่แล้ว

    create web boilerplate - not working

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

    You should make a site for Spongebob just like pokemon.