吳政愷程式設計學習進度
| 第八週 | 第九週 |
第一週
複製程式碼,進行修改。<h1>伊呀伊呀呦<h1/>
<iframe width="560" height="315" src="https://www.youtube.com/embed/UZ3B2DzvCs8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
第二週
<input onclick="draw()" type="button" value="點點點" />
<lable>選顏色:</lable>
<lable><input type="radio" name="color" >紅色</lable>
<lable><input type="radio" name="color" >藍色</lable>
<lable><input type="radio" name="color" >綠色</lable><br>
type==>radio button inbox
<form><b>選擇顏色:<input id="linecolor" type="checkbox">紅色<input onclick="draw()"type="button"value="2020年每天通貨走勢" /></form>
ctx.fillStyle="red";
if ( document.getElementById('l inecolor').checked )
十進位 | 十六進位 | 二進位 |
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 |
=DEC2HEX($A20) | =DEC2BIN($A20) |
第四週
<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>
var speed = document.getElementById("selection");
var speedvalue = speed.options[speed.options.selectedIndex].text;
第五週
Html,CSS,JavaScript,Visual Basic
階層式樣式表(英語:Cascading Style Sheets,縮寫:CSS;又稱串樣式列表、級聯樣式表、串接樣式表、層疊樣式表)是一種用來為結構化文件(如HTML文件或XML應用)添加樣式(字型、間距和顏色等)的電腦語言,由W3C定義和維護。---維基百科
第六週上課
| 網頁指令 | 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 |
| commandbutton | |
| <input type="button" value="點me" onclick="alert('哈哈')"> | commandbutton |
| 雞鴨魚 | commandbutton |
| 雞<input type="radio"/>鴨<input type="radio"/>魚<input type="radio"/> | commandbutton |
| 雞鴨魚 | commandbutton |
| 雞<input type="radio" name="a" />鴨<input type="radio" name="a" />魚<input type="radio" name="a" /> | commandbutton |
| VBA | |
| 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
留言
張貼留言