学习javascript
JavaScript is the one of the most popular programming languages. We have released a full video course where you can learn JavaScript by building 7 retro grid-based games.
JavaScript是最流行的编程语言之一。 我们发布了完整的视频课程,您可以通过构建7个基于网格的复古游戏来学习JavaScript。
When you learn by building projects, you can immediately see how the code works in a real-world situation. And by the end of this course from Ania Kubow, you will have 7 great projects for your career portfolio. Each game taught in this course is created with minimal styling for you to take and make your own.
通过构建项目进行学习时,您可以立即看到代码在实际情况下的工作方式。 在Ania Kubow的本课程结束时,您将获得7个适合您职业生涯的优秀项目。 本课程中讲授的每个游戏都以最小的样式创建,供您自己制作。
You will learn the basics of JavaScript by creating the following seven games:
您将通过创建以下七个游戏来学习JavaScript的基础知识:
- Memory Game 记忆游戏
- Whack-a-mole hack鼠
- Connect Four 连接四
- Snake 蛇
- Space Invaders 太空侵略者
- Frogger 蛙人
- Tetris 俄罗斯方块
Here are a few of the JavaScript methods and functions you will learn about in this course:
以下是您将在本课程中学习的一些JavaScript方法和函数:
- querySelector() querySelector()
- addEventListener() addEventListener()
- Array.from() Array.from()
- getElementsByClassName() getElementsByClassName()
- Math.floor() Math.floor()
- Math.random() Math.random()
- forEach() forEach()
- classList.contains() classList.contains()
- classList.add() classList.add()
- classList.remove() classList.remove()
- setInterval() setInterval()
- clearInterval() clearInterval()
- some() 一些()
- style.backgroundImage style.backgroundImage
- splice() 拼接()
- concat() concat()
- appendChild() appendChild()
- Arrow functions 箭头功能
Watch the course below or on the freeCodeCamp.org YouTube channel (2 hour watch).
观看下面的课程或在freeCodeCamp.org YouTube频道上观看(观看2小时)。
翻译自: https://www.freecodecamp.org/news/learn-javascript-by-building-7-games-video-course/
学习javascript