diff --git a/skills/html/README.md b/skills/html/README.md new file mode 100644 index 0000000..981628f --- /dev/null +++ b/skills/html/README.md @@ -0,0 +1,3 @@ +# HTML + +vscode 插件: open in browser \ No newline at end of file diff --git a/skills/html/images/1.jpeg b/skills/html/images/1.jpeg new file mode 100644 index 0000000..6b28d65 Binary files /dev/null and b/skills/html/images/1.jpeg differ diff --git a/skills/html/images/2.jpeg b/skills/html/images/2.jpeg new file mode 100644 index 0000000..0fc21a4 Binary files /dev/null and b/skills/html/images/2.jpeg differ diff --git a/skills/html/index.css b/skills/html/index.css new file mode 100644 index 0000000..3299f25 --- /dev/null +++ b/skills/html/index.css @@ -0,0 +1,39 @@ +/* p { + color: blue; +} */ + +/* . class */ +.red { + color: red; +} + +/* # 表示这是一个id选择器 */ +#input01 { + width: 400px; +} + +/* ul>li:first-child { + font-weight: 600; +} */ + + +ul li:hover { + color: red; + font-size: 20px; + font-weight: 600; +} + +img { + width: 220px; + height: 220px; + object-fit: cover; /* 裁剪成正方形 */ + border-radius: 4px; /* 可选:圆角 */ + margin: 10px; +} + +.img-warppter { + height: 300px; + display: flex; + justify-content: space-between; + align-items: center; +} \ No newline at end of file diff --git a/skills/html/index.html b/skills/html/index.html new file mode 100644 index 0000000..ed1be7e --- /dev/null +++ b/skills/html/index.html @@ -0,0 +1,109 @@ + + + + + Document + + + + +

HTML 语法介绍

+

段落

+

段落

+ 文字A +
+ 文字B +
+
+ First name:
+ Last name:
+ +
+ + + + + + + + + + + + + + + + +
MonthSavings
January$100
February$80
+ +
+ + + + + + + + + + + + + +
MonthSavings
January$100
February$80
+
+

这是一个段落

+
+
+
+ + + + + + + + + + + + + +
MonthSavings
January$100
February$80
+
+

这是一个段落

+
+ + span1 + span2 + +
+ + +
+ + + +
+ + + + diff --git a/skills/javascript/async.drawio b/skills/javascript/async.drawio index a2aacb7..3928ae1 100644 --- a/skills/javascript/async.drawio +++ b/skills/javascript/async.drawio @@ -42,8 +42,8 @@ - - + + diff --git a/skills/javascript/promise.js b/skills/javascript/promise.js index 63ccf68..7de1bc7 100644 --- a/skills/javascript/promise.js +++ b/skills/javascript/promise.js @@ -46,7 +46,7 @@ var p1 = new Promise(testApiCall) // 异步等待 -// 一同步编程的方式,来实现异步代码 +// 以同步编程的方式,来实现异步代码 var async_await = async () => { try { const resp = await p1