程式設計學習進度與學習心得 新文章
第一周9/7 老師給 範本 學生改HTML原始碼 第二周9/14 學習 <input type="button" value="2020年每天通貨走勢" onclick="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> <label>綠色:<input type="radio" name="color"></label><br> 第三周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"; 位元組與變數 10 進位 ...