Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<title>W3.JS</title>
<script src="https://www.w3schools.com/lib/w3.js"></script>
<body>
<button onclick="w3.addStyle('#mydiv','background-color','red')">click</button>
<div id="mydiv">
<h1>Hello world!</h1>
</div>
</body>
</html>
The most helpful W3.JS solutions
How to fill a dropdown using w3.js ?W3.JS Click to see more ... 1.1K 147