NKFW 網頁設計入門
VS Code是一款免費的整合式開發環境(IDE),我們經常使用IDE提供的功能來加速、輔助開發,VS Code有不少方便的快捷功能及好用的擴充元件可安裝。
Live Server是VS Code的擴充元件,即時更新的特性有利我們撰寫及修改網頁。
打開VS Code
點開右側欄位的Extensions
在上方搜尋欄搜尋「Live Server」,找到下圖的擴充套件
點擊install下載
看到畫面右下角多了「Go Live」的按鍵就代表成功了喔!
Chinese Language Pack是Microsoft官方提供的擴充套件,可以將介面轉為中文。
在Extensions的搜尋欄中搜尋「Chinese Language Pack」
點擊install下載下圖的擴充套件
右下角會跳出提示窗,按下「Change Language and Restart」
建立資料夾
透過「File」中的「Open Folder」開啟資料夾
透過上圖右上方的「New File」開啟新檔並取名,記得要包括主要檔名及副檔名
試著建立一個「demo.html」
在裡面打上一些簡單的文字
點擊右下角的Go Live觀察效果
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing