-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (68 loc) · 2.43 KB
/
index.html
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hashtag Generator</title>
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
type="text/css"
href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css"
/>
</head>
<body>
<div class="container">
<h5>
a project by <span style="color: hsl(186 100% 69%)">dev rf-gul</span>
</h5>
<!-- Fallback YouTube Video -->
<div class="video-container" style="text-align:center; margin-bottom: 20px;">
<h2 style="color: white">Watch a demo video if the API key doesn't work:</h2>
<iframe width="560" height="315" src="https://www.youtube.com/embed/wgCVvAmUXIE?si=HsPLZKXI89jBxyUV" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>
<div class="container">
<h1 class="heading">
<span class="auto-typed"></span>
</h1>
</div>
<textarea
id="textInput"
style="font-size: 20px"
rows="10"
cols="70"
placeholder="Enter your paragraph here to generate SEO friendly Hashtags..."
></textarea>
<button onclick="loadingToast()" class="glowing-btn">
<span
onclick="generateHashtags() , displayHashtags()"
class="glowing-txt"
>C<span class="faulty-letter">L</span>ICK
</span>
</button>
<h2 style="color: white">Results will be shown here</h2>
<div class="contentBox">
<div id="keywords"><strong> Keywords </strong></div>
<div id="hashtags"><strong> Hashtags </strong></div>
<div id="regeneratedText"><strong> Regenerated Text </strong></div>
</div>
<button onclick="showToast()">Show Toast</button>
</div>
<script src="script.js"></script>
<script src="https://unpkg.com/[email protected]/dist/typed.umd.js"></script>
<script
type="text/javascript"
src="https://cdn.jsdelivr.net/npm/toastify-js"
></script>
</body>
</html>
<script>
// types js
const typed = new Typed(".auto-typed", {
strings: [" AI Based Hashtag Generator"],
typeSpeed: 80,
backSpeed: 40,
typeDelay: 1000,
loop: true,
});
</script>