本文共 733 字,大约阅读时间需要 2 分钟。
vanilla gan:
In this quick JavaScript tutorial, Marina will walk you through building your own memory matching game using vanilla JavaScript (plain JavaScript with no libraries).
在这个快速JavaScript教程中,Marina将引导您使用香草JavaScript(不带库的普通JavaScript)构建自己的内存匹配游戏。
She covers the native JavaScript ways to select elements in the DOM, how to iterate through lists with forEach
, timeouts, and event listeners.
她介绍了在DOM中选择元素的本机JavaScript方法,如何使用forEach
,超时和事件侦听器遍历列表。
Along the way, Marina will also explain the CSS Box model, and how padding and margins work, as well as absolute VS relative positioning.
在此过程中,Marina还将解释CSS Box模型,填充和边距如何工作以及VS相对绝对位置。
You can watch Marina's video on (34 minute watch).
您可以上观看Marina的视频(观看时间 34分钟)。
翻译自:
vanilla gan:
转载地址:http://fdwzd.baihongyu.com/