Get started with hallo.js CDN

MIT licensed

Hallo.js is a lightweight library for creating interactive voice response applications.

Tags:
  • wysiwyg

Stable version

Copied!

How to start using hallo.js CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with hallo.js CDN - cdnhub.io</title>
    <script src="https://cdn.cdnhub.io/hallo.js/1.1.1/hallo.min.js"></script>
</head>
<body>
    <button id="greet-btn">Greet</button>
    <script>
        const greetBtn = document.getElementById('greet-btn');
        const hello = new Hello();

        greetBtn.addEventListener('click', () => {
            const name = 'John Doe';
            const greeting = hello.hello(name).toString();
            alert(greeting);
        });
    </script>
</body>
</html>
Copied!
Copied!

All versions