关于作者

Discuss / JavaScript / 练习一下辣

练习一下辣

问题来源

沏曦

#1 Created at ...

// 获取<p>javascript</p>节点: var js = document.getElementById('test-js');

// 修改文本为JavaScript: // TODO: js.innerHTML = "JavaScript"

// 修改CSS为: color: #ff0000, font-weight: bold // TODO: js.style.color = "#ff0000" js.style.fontWeight = "bold"


  • 1

Reply

WARNING: You are using an old browser that does not support HTML5. Please choose a modern browser (Chrome / Microsoft Edge / Firefox / Sarafi) to get a good experience.