程式設計學習與心得
第七週 第八週 第一週9/7 老師給 範本 學生改 第二週9/14 學習 < input type="button" value="2020年每天通貨走勢" onload="draw()"> <label>顏色:<input type="radio"name="color"></label> <label>紅色<input type="radio"name="color"></label> <label>藍色<input type="radio"name="color"></label> <label>黑色<input type="radio"name="color"></label> 第三週9/21 在HTML處增加。 <form><b>選擇顏色: <input id="linecolor" type="checkbox">紅色 <input onclick="draw()" type="button" value="2020年每天通貨走勢" /></form> 在JavaScript處作如下更改。 ctx.fillStyle="black"; if ( document.getElementById('linecolor').checked ) ctx.fillStyle="red"; 學習input還有表格 10 進位 16 進位 位元數的 2 進位表示 2 進位對應的 10 進位 7 6 5 4 ...