Get started with jo CDN

BSD-2-Clause licensed

Jo.js: Lightweight, modular UI-building library.

Tags:
  • mobile
  • framework

Stable version

Copied!

How to start using jo CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with jo CDN - cdnhub.io</title>
    <script src="https://cdn.cdnhub.io/jo/0.4.1/jo.min.js"></script>
</head>
<body>
    <button id="myButton">Click me</button>
    <script>
        document.addEventListener('DOMContentLoaded', () => {
            const myButton = document.getElementById('myButton');

            jo(myButton)
                .on('click', () => {
                    alert('Button clicked!');
                });
        });
    </script>
</body>
</html>
Copied!

All versions