-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (52 loc) · 3.46 KB
/
Copy pathindex.html
File metadata and controls
60 lines (52 loc) · 3.46 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SweetAlert2 Example Code | EliteInterns</title>
<link rel="icon" href="https://web.eliteinterns.in/assets/images/favicon.svg" type="image/x-icon" />
<!-- Primary Meta Tags -->
<meta name="title" content="SweetAlert2 Example Code | EliteInterns" />
<meta name="description" content="Explore example HTML, CSS, JavaScript, and JSON code snippets used in the EliteInterns internship program website. Learn how we build responsive, interactive features for student engagement and project management." />
<meta name="keywords" content="EliteInterns, internship portal code, HTML example, CSS for internship website, JavaScript examples, JSON data, student internship website, web development internship, coding for interns, frontend example code">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://web.eliteinterns.in/libraries/SweetAlert2/" />
<meta property="og:title" content="SweetAlert2 Example Code | EliteInterns" />
<meta property="og:description" content="Explore example HTML, CSS, JavaScript, and JSON code snippets used in the EliteInterns internship program website. Learn how we build responsive, interactive features for student engagement and project management." />
<meta property="og:image" content="https://web.eliteinterns.in/assets/images/internship.png" />
<meta property="og:image:alt" content="SweetAlert2 Example Code" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://web.eliteinterns.in/libraries/SweetAlert2/" />
<meta property="twitter:title" content="SweetAlert2 Example Code | EliteInterns" />
<meta property="twitter:description" content="Explore example HTML, CSS, JavaScript, and JSON code snippets used in the EliteInterns internship program website. Learn how we build responsive, interactive features for student engagement and project management." />
<meta property="twitter:image" content="https://web.eliteinterns.in/assets/images/internship.png" />
<meta property="twitter:image:alt" content="SweetAlert2 Example Code" />
<!-- Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"name": "SweetAlert2 Example Code | EliteInterns",
"description": "Explore example HTML, CSS, JavaScript, and JSON code snippets used in the EliteInterns internship program website.",
"url": "https://web.eliteinterns.in/libraries/SweetAlert2/",
"image": "https://web.eliteinterns.in/assets/images/internship.png"
}
</script>
<!-- SweetAlert2 CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<button class="btn" onclick="basicAlert()">Basic Alert</button>
<button class="btn" onclick="successAlert()">Success Alert</button>
<button class="btn" onclick="errorAlert()">Error Alert</button>
<button class="btn" onclick="warningAlert()">Warning Alert</button>
<button class="btn" onclick="inputAlert()">Input Prompt</button>
<button class="btn" onclick="toastAlert()">Toast Notification</button>
<!-- SweetAlert2 JS -->
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="script.js"></script>
</body>
</html>