Loading...
「ツール」は右上に移動しました。
利用したサーバー: natural-voltaic-titanium
58いいね 8986回再生

Learn Vanilla Javascript: Memory Game Tutorial - Flip Card [4/11]

Project developed in vanilla javascript. Learn the fundamentals of pure javascript by building simple and quick projects. No frameworks or libraries, definitely no jquery.

This video will cover how to:

select the card elements in the DOM with querySelector
iterate through the list with forEach
attach an event listener to each card
add a class to the element when it fires the click event
flip the card in the css with transform

✏️Written Tutorial: medium.freecodecamp.org/vanilla-javascript-tutoria…
🕹Demo: marina-ferreira.github.io/projects/js/memory-game/
📂Repo: github.com/code-sketch/memory-game

***********************************************************************

Don't be a stranger!!

💚Twitter: twitter.com/codesketchlab
💙Facebook: www.facebook.com/codesketchlab/
💜Medium: medium.com/@marina.ferreira.developer

******************************************************************

コメント