What is W3.JS?
W3.JS is a modern JavaScript library for modern HTML applications.

  • Smaller and faster than other JavaScript libraries.
  • Easier to learn and easier to use.
  • Designed to speed up application development.
  • Designed for all devices: PC, tablet, and mobile.

 

W3.JS Example

<!DOCTYPE html>
<html>
<title>W3.JS</title>
<script src="https://www.w3schools.com/lib/w3.js"></script>
<body>
<p>Click on the below button to toggle between hiding and showing the element with id="Delhi".</p>
<button onclick="w3.toggleShow('#Delhi')">Toggle Hide/Show</button>
<div id="Delhi">
  <h2>Delhi</h2>
  <p>Delhi is the capital city of India.</p>
</div>
</body>
</html>

Screenshot

Add Comments