金一丙張琍婷清單方塊Listbox與核取方塊Checkbox

期中考改良
非巢狀條件
if (r) present("#FF0000");if (g) present("#00FF00");
if (b) present("#0000FF");
巢狀條件
if (r) present("#FF0000");else if (g) present("#00FF00");
else if (b) present("#0000FF");
else alert("非以上顏色");
期中考
紅色 綠色 藍色
粗體
輸出
張琍婷心得
- 清單方塊: 下拉式選單加上size
- 複習CSS
- 事件onclick。
- 條件判斷式 IF(判斷式){成立則執行}ELSE {不承認則執行}。
- 自訂函數xyz。
- 串樣式列表CSS
- list分成ol=ordered list 與ul=unordered list
- 變數型態variable type:
- 邏輯是true與非false
- 整數integer
- 實數real
- 字串string
- 從高中開始電腦就不是很好,是直到大學上程式設計才讓我有學習電腦的動力。
非常好!
回覆刪除