Next Section: 从写作业的例子看for循环组成903 plays

5 秒后自动播放下一节
  Watch Again

TypeScript introductory video [can be understood even without learning JavaScript]

Introduction >
ChapterCourseware
Chapter1Introduction to typescript first experience

Introduction

07 minutes13 seconds

First experience with typescript

01 minutes35 seconds

what is javascript

04 minutes41 seconds

what is typescript

03 minutes56 seconds

Advantages of typescript compared to js

05 minutes43 seconds
Chapter2Preparation of development tools

Development tools (vscode)

03 minutes10 seconds

Development tools (Node.js)

03 minutes00 seconds

Why install a toolkit for parsing TS?

02 minutes33 seconds

Install the toolkit for parsing TS

03 minutes28 seconds
Chapter3First time using TS

The first TS file

07 minutes58 seconds

Simplify the steps to perform TS

06 minutes05 seconds

Comment

07 minutes01 seconds

output statement

02 minutes06 seconds

Typescript first experience summary

03 minutes19 seconds
Chapter4Variables and data types

An introduction to variables and data types

01 minutes24 seconds

what is a variable

02 minutes32 seconds

Use of variables

08 minutes39 seconds

Configure vscode

04 minutes09 seconds

type annotation

03 minutes38 seconds

Naming rules and specifications

07 minutes59 seconds

Exercises with variables (exchanging the values ​​of two variables)

05 minutes17 seconds

Data type overview

03 minutes53 seconds

Numeric type

04 minutes31 seconds

string type

05 minutes14 seconds

Boolean type

03 minutes32 seconds

underfined and null types

06 minutes30 seconds

Basic Types - Summary

04 minutes26 seconds
Chapter5operator

Introduction to operators

00 minutes46 seconds

arithmetic operators

04 minutes27 seconds

Plus sign implements string concatenation

05 minutes12 seconds

Thoughts caused by the plus sign

09 minutes26 seconds

assignment operator

08 minutes47 seconds

Increment and decrement operators

14 minutes24 seconds

comparison operator

11 minutes11 seconds

Logical Operators

14 minutes24 seconds
Chapter6Execute statement

Statement introduction

01 minutes30 seconds

Conditional statements overview

07 minutes01 seconds

if statement

08 minutes41 seconds

else statement

07 minutes55 seconds

if else statement practice

07 minutes40 seconds

Overview of the ternary operator

09 minutes40 seconds

Exercises with the ternary operator

06 minutes55 seconds

Overview of loop statements

04 minutes12 seconds

Look at the composition of the for loop from the example of writing homework

13 minutes31 seconds

Basic use of for loop

12 minutes10 seconds

The execution process of for loop

10 minutes54 seconds

Breakpoint debugging to view the for loop execution process

12 minutes49 seconds

vscode breakpoint debugging configuration (1 configuration step)

10 minutes59 seconds

vscode breakpoint debugging configuration (2 debugging tips)

09 minutes55 seconds

For loop exercises (1 print 1-5)

04 minutes07 seconds

Exercises in for loop (2 print the nth bun being eaten)

10 minutes52 seconds

For loop exercises (3 Calculate the sum of 1-100)

11 minutes47 seconds
Chapter7break and continue keywords

break keyword

09 minutes33 seconds

continue keyword

07 minutes28 seconds
Chapter8array

Introduction to arrays

01 minutes04 seconds

Array overview

04 minutes55 seconds

Create an array (Syntax 1)

09 minutes48 seconds

Create an array (syntax 2)

04 minutes28 seconds

Array length and index

10 minutes23 seconds

Array value acquisition and storage (value acquisition)

06 minutes09 seconds

Array value acquisition and storage (storage value)

07 minutes25 seconds

Add elements to array

10 minutes04 seconds

Iterate over the array (calculator default value is 0)

06 minutes55 seconds

Traverse the array (the judgment condition is the length of the array minus 1)

07 minutes23 seconds

Traverse the array (optimizing judgment conditions)

03 minutes40 seconds

Array exercises (finding the sum of all elements in an array)

08 minutes24 seconds

Array exercises (finding the maximum value in an array)

13 minutes40 seconds

Array exercises (find elements in an array that are not 0)

10 minutes13 seconds
Chapter9Function basics

Introduction to function basics

00 minutes57 seconds

Function overview

09 minutes33 seconds

Function usage

06 minutes43 seconds

Function exercises

04 minutes08 seconds

Function parameters overview

06 minutes55 seconds

formal parameters and actual parameters

07 minutes13 seconds

Additional description of parameters

10 minutes40 seconds

Function parameter exercises (1)

03 minutes19 seconds

Function parameter exercises (2)

05 minutes10 seconds

Function return value overview

06 minutes43 seconds

Basic usage of function return values

11 minutes33 seconds

Function return value exercise (transformation of getSum function)

02 minutes53 seconds

Function return value exercise (triangle area)

04 minutes53 seconds

Function return value practice (finding the maximum value)

04 minutes59 seconds

Description of return

09 minutes37 seconds

Summary of function basics

02 minutes14 seconds
Chapter10Function advanced

Advanced introduction to functions

00 minutes51 seconds

Function debugging (basic operations)

10 minutes09 seconds

Function debugging (function execution process)

08 minutes03 seconds

variable scope

08 minutes23 seconds
Chapter11object

Object introduction

01 minutes11 seconds

Object overview

08 minutes21 seconds

Create object

12 minutes10 seconds

Interface (type annotation of object)

13 minutes37 seconds

Type annotations for object methods

14 minutes15 seconds

Use of interface

10 minutes05 seconds

Object value

12 minutes05 seconds

Object storage value

04 minutes20 seconds

Summary of basic usage of objects

02 minutes42 seconds
Chapter12built-in objects

Built-in objects overview

11 minutes35 seconds

Array object (length property)

03 minutes57 seconds

Array object (push)

10 minutes58 seconds

Array object (forEach)

11 minutes25 seconds

Array object (explanation of forEach)

13 minutes53 seconds

forEach exercises

06 minutes34 seconds

Array object (some)

11 minutes02 seconds
Chapter13web development basics

Type inference of TS

10 minutes39 seconds

An overview of web development basics

05 minutes22 seconds

Basic use of HTML (create the first html page and use it)

06 minutes33 seconds

Basic use of HTML (common tags)

11 minutes31 seconds

Basic usage of CSS (style attribute)

05 minutes18 seconds

Basic usage of CSS (style tag)

07 minutes55 seconds

Basic use of CSS (css file)

04 minutes51 seconds

Use javascript in your browser

08 minutes41 seconds

Use Live Server plug-in - automatically refresh the browser

10 minutes24 seconds
Chapter14Run TS in browser

Run TS in browser

12 minutes20 seconds
Chapter15DOM manipulation

DOM manipulation overview

09 minutes37 seconds

Get elements (querySelector)

11 minutes50 seconds

TS type assertion

11 minutes02 seconds

Get elements (querySelectorAll)

04 minutes06 seconds

Manipulate text content (innerText)

07 minutes50 seconds

Exercise (querySelectorAll and innerText)

11 minutes51 seconds

Operation style (style attribute)

09 minutes41 seconds

Operation demonstration (classList attribute)

10 minutes25 seconds

Operation event (addEventListener add event)

10 minutes49 seconds

Operation event (event object)

07 minutes28 seconds

removeEventListener removes events (1)

10 minutes03 seconds

removeEventListener removes events (2)

07 minutes08 seconds

Two notes on event handlers in the form of function declarations

07 minutes38 seconds
Chapter16Chess game case

Chess game demonstration and gameplay introduction

05 minutes17 seconds

Game template description

11 minutes38 seconds

Cell click (playing chess)

13 minutes40 seconds

Cell click (optimized)

06 minutes19 seconds

Adjust vscode and browser window position

03 minutes01 seconds

Switch players (1)

12 minutes03 seconds

Switch players (2)

07 minutes54 seconds

Basic usage of enumerations

15 minutes19 seconds

Numeric enumeration and string enumeration

10 minutes48 seconds

Modify the current player using an enum

07 minutes27 seconds

The idea of ​​​​judging victory

08 minutes36 seconds

Analyze winning array

08 minutes38 seconds

Cell element list description

06 minutes50 seconds

Encapsulating the winning function

14 minutes41 seconds

Implement the winning function (1)

11 minutes50 seconds

Implement the winning function (2)

09 minutes53 seconds

Optimize the winning function

11 minutes58 seconds

Determine a draw

09 minutes35 seconds

Show winning information

08 minutes07 seconds

restart game

16 minutes03 seconds

Optimize restart the game

09 minutes51 seconds
  • CancelreplySending
  • Cancelpost a noteSending