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>
<script src="https://www.w3schools.com/lib/w3.js"></script>
<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">
  <p>Delhi is the capital city of India.</p>


Add Comments