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