陳弈夫學習清單方塊與核取方塊的利用

期中考改良

非巢狀條件

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");

期中考

清單方塊與核取方塊的利用
紅色 綠色 藍色
粗體

輸出

學習心得

  1. 事件onclick。
  2. 條件判斷式 IF (判斷式) {成立則執行} ELSE {不成立則執行}
  3. 自訂函數xyz。
  4. 串樣式列表CSS
  5. list分成ol=ordered list 與ul=unordered list
  6. 變數型態variable type:
    • 邏輯是true與非false
    • 整數integer
    • 實數real
    • 字串string
  7. align: to put two or more things into a straight line

留言

張貼留言

這個網誌中的熱門文章