-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (42 loc) · 1.63 KB
/
Copy pathindex.html
File metadata and controls
44 lines (42 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Wizard CDN Smoke Test</title>
<link rel="stylesheet" href="../base.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AdrianVillamayor/Wizard-JS@latest/dist/main.min.css">
</head>
<body>
<main class="test-shell">
<header class="test-header">
<h1>CDN Browser Smoke Test</h1>
<p>Loading Wizard-JS directly from jsDelivr using the latest published release.</p>
</header>
<div class="wizard">
<aside class="wizard-content">
<div class="wizard-step" data-wz-title="Step 1">
<label for="cdn-name">Name</label>
<input id="cdn-name" type="text" class="required" placeholder="Name">
</div>
<div class="wizard-step" data-wz-title="Step 2">
<label for="cdn-email">Email</label>
<input id="cdn-email" type="email" class="required" placeholder="Email">
</div>
</aside>
</div>
<p id="status">Loading CDN browser test...</p>
</main>
<script src="https://cdn.jsdelivr.net/gh/AdrianVillamayor/Wizard-JS@latest/dist/index.js"></script>
<script>
const wizard = new Wizard({
wz_class: ".wizard",
navigation: "all",
buttons: true,
nav: true
});
wizard.init();
document.getElementById("status").textContent = `CDN browser test ready: ${typeof wizard.init}`;
</script>
</body>
</html>