已采納回答 / 慕妹7343412
score>=60 ? document.write("很棒,成績及格了。") : score<60 ??document.write("加油,成績不及格。"):?document.write("成績錯誤!");
2021-01-28
最贊回答 / 慕俠4511785
//定義"取消設置"的函數????function?modifyRemove(){????????var?myconfirm?=?window.confirm("嗯,是否恢復初始設置?");????????if?(myconfirm?===?true){????????//?????txt.style?=?{};? ?//這種也行????????txt.removeAttribute("style");????????}
2021-01-03