程式設計心得與分享
9/7 老師 範本 9/14 <label>顏色: </label> <label>黑色<input name="color" type="radio" /> </label> <label>紅色<input name="color" type="radio" /> </label> <label>綠色<input name="color" type="radio" /> </label> <label>藍色<input name="color" type="radio" /> </label><br /> <input onclick="draw()" type="button" value="2020年每天通貨走勢" /> 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"; 0與1的世界,0與1構成一個位元BIT,電腦的基本單位是一個位元組Byte等於8位元Bit。 位元數,由一位原構成,0到255, 整數,由二位元。長整數,由四位元,實數也四位元。 位元組與變數 1...