JavaScript点击按钮开关灯案例
<style> .cls{ background-color: brown; } </style> <body id="dd"> <input type="button" value="开/关灯" id="bt