mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-17 20:11:54 +02:00
fix: style miss&&small content (#578)
This commit is contained in:
@@ -61,7 +61,7 @@ if (currentMoney >= laptopPrice){
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## IF..Else Statement
|
## If..Else Statement
|
||||||
|
|
||||||
The `else` statement will run the code in between its blocks when the condition is false. It's optional with an `if` statement.
|
The `else` statement will run the code in between its blocks when the condition is false. It's optional with an `if` statement.
|
||||||
|
|
||||||
|
@@ -62,7 +62,7 @@ if (currentMoney >= laptopPrice){
|
|||||||
|
|
||||||
## If..Else 语句
|
## If..Else 语句
|
||||||
|
|
||||||
`else` 语句会在条件为假的情况下运行它块中的代码。它后面可以跟上一个 `if` 语句。
|
`else` 语句会在条件为假的情况下运行它块中的代码。它可以跟在一个 `if` 语句后面。
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
let currentMoney;
|
let currentMoney;
|
||||||
|
@@ -187,6 +187,8 @@ HTML 文档中的 'head' 包含的区域有很多关于页面的重要信息,
|
|||||||
|
|
||||||
✅ 看看屏幕阅读器是[如何去处理的一个网页的](https://www.youtube.com/watch?v=OUDV1gqs9GA)。你看到了非语义化标签对他们造成的障碍了吗?
|
✅ 看看屏幕阅读器是[如何去处理的一个网页的](https://www.youtube.com/watch?v=OUDV1gqs9GA)。你看到了非语义化标签对他们造成的障碍了吗?
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## 花艺瓶
|
## 花艺瓶
|
||||||
|
|
||||||
这个界面的最后一部分涉及创建标记,这些标记后面将被装饰成一个花艺瓶。
|
这个界面的最后一部分涉及创建标记,这些标记后面将被装饰成一个花艺瓶。
|
||||||
@@ -217,7 +219,7 @@ HTML 中还有一些狂野的'旧'标签,玩起来仍然很有趣。虽然[这
|
|||||||
|
|
||||||
## 课后测试
|
## 课后测试
|
||||||
|
|
||||||
[课后测试](https://happy-mud-02d95f10f.azurestaticapps.net/quiz/16?loc=zh_ch)
|
[课后测试](https://happy-mud-02d95f10f.azurestaticapps.net/quiz/16?loc=zh_cn)
|
||||||
|
|
||||||
## 复习 & 预习
|
## 复习 & 预习
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user