學習進度
第一周
下載老師寫好的程式碼,再去修改
第二週
學會使用輸入
<input type="button" value="賤骨頭" onclick="draw()">
button 鈕扣 ,按鈕
<label>紅色</label><input type="radio" name="color">
<label>綠色</label><input type="radio" name="color">
<span style="font-size: x-large;">字體大小
第三週
ctx物件的字形 後面接屬性 properties 方法method 物件導向設計 object-oriented
programming design
學習條件式
if{} else {}

從EXCEL(使用dec2hex與dec2bin命令)直接貼上
十進位 | 十六進位 | 二進位 |
decimal | hexadecimal | binary |
0 | 0 | 0 |
1 | 1 | 1 |
2 | 2 | 10 |
3 | 3 | 11 |
8 | 8 | 1000 |
9 | 9 | 1001 |
10 | A | 1010 |
11 | B | 1011 |
12 | C | 1100 |
13 | D | 1101 |
14 | E | 1110 |
15 | F | 1111 |
16 | 10 | 10000 |
17 | 11 | 10001 |
253 | FD | 11111101 |
254 | FE | 11111110 |
255 | FF | 11111111 |
<form><b>
選擇速度: <select id="selection">
<option value="10">10</option>
<option value="20">20</option>
<option value="40" selected>40</option>
<option value="100">100</option>
<option value="100">500</option>
</select>
選擇顏色:
<input id="linecolor" type="checkbox">紅色 <!--核取方塊 linecolor -->
<input onclick="draw()" type="button" value="2020年每天通貨走勢" />
</form>\
第五周
階層式樣式表(英語:Cascading Style Sheets,縮寫:CSS;又稱串樣式列表、級聯樣式表、串接樣式表、層疊樣式表)是一種用來為結構化文件(如HTML文件或XML應用)添加樣式(字型、間距和顏色等)的電腦語言,由W3C定義和維護。目前最新版本是CSS2.1,為W3C的推薦標準。[來源請求]CSS3現在已被大部分現代瀏覽器支援,而下一版的CSS4仍在開發中。
Excel VBA
第六週上課
網頁指令 | VBA指令 |
聯絡人職稱: | UserForm_Initialize()'起始表單事件設定 |
聯絡人職稱:<select id="ComboBox1"> <option>董事長</option> <option>總經理</option> <option>副總經理</option> <option>財務長</option> <option>人資長</option> </select> | With ComboBox1 .Additem("董事長") .Additem("總經理") .Additem("副總經理") .Additem("財務長") .Additem("人資長") End With |
VBA | |
<input type="button" value="按下我" onclick="alert"'豬頭'"></td><td>VBA</td></tr> | VBA |
VBA | |
<input type="button" value="按下我" onclick="alert"'豬頭'"></td><td>VBA</td></tr> | VBA |
第七周網頁命令與VBN命令比較
網頁指令 |
輸入資料: |
輸入資料:input type="text"> |
輸入數字: |
輸入數字:input type="number"> |
input onclick="alert('你三分頭大帥哥')" type="buttom" value="放屁" /> |
輸入密碼: |
輸入密碼:input type="password"> |
是否吃素: |
是否吃素:input type="checkbox"> |
豬狗貓 |
input type="豬狗貓"> |
豬狗貓 |
Private Sub CommandButton1_Click() Dim addnew As Range '定義 變數 addnew 是工作表的一個範圍 If Range("A1").CurrentRegion.Rows.Count = 1 Then Set addnew = Sheets("DataTable").Range("A1").Offset(1, 0) Else Set addnew = Sheets("DataTable").Range("A1").End(xlDown).Offset(1, 0) End If addnew.Offset(0, 0).Value = TextBox1.Text '統一編號 addnew.Offset(0, 1).Value = TextBox2.Text '公司 addnew.Offset(0, 2).Value = TextBox3.Text '聯絡人 addnew.Offset(0, 4).Value = TextBox4.Text '地址 addnew.Offset(0, 3).Value = ComboBox1.Value '聯絡人職位 使用下拉式選單 ListBox1.ColumnCount = 5 '在清單方塊 ListBox1 顯示輸入的資料,5 columns ListBox1.RowSource = "A1:E65536" End Sub Private Sub CommandButton2_Click() End End Sub Private Sub UserForm_Initialize() ComboBox1.AddItem ("董事長") ComboBox1.AddItem ("總經理") ComboBox1.AddItem ("副總經理") ComboBox1.AddItem ("財務長") End Sub |
第八周 | 第九周 |
第八周第九周
第八週2020/10/26
國庫券T-Bill,Treasury Bills, 美國財政部Department of the Treasury, 台灣財政部Administry of Finance
國庫券面額$ 天期貼現率 %
價格$(計算中)
參考李顯儀金融市場page 4-12
留言
張貼留言