-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (53 loc) · 3.27 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
<!DOCTYPE html>
<head>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@1,700&family=Silkscreen&display=swap" rel="stylesheet">
<!-- Google Material Icons -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,600,0,200" />
<!-- Bootstrap JS,CSS & PopperJS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script>
<!-- JQuery -->
<script src="./jquery-3.6.1.min.js"></script>
<!-- Clipboard JS -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/clipboard.min.js"></script>
<!-- Custom JS -->
<script src="./main.js" type="text/javascript"></script>
<title>Whatsapp Text Editor</title>
</head>
<body style="background-color: #A8DBD8;">
<nav class="navbar navbar-expand-lg justify-content-center" style="height: 70px;background-color: #045e54;">
<h1 style="font-family: 'Lato', sans-serif;color: white;">WHATSAPP TEXT EDITOR</h1>
</nav>
<div class="mx-auto my-5 w-75">
<div id="main-container" class="d-flex flex-column flex-wrap">
<div class="my-3 btn-group align-self-center" role="group" aria-label="Format buttons">
<button type="button" id="i-Btn" class="ftBtn btn btn-outline-dark" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Italic">
<span class="material-symbols-outlined">
format_italic
</span>
</button>
<button type="button" id="b-Btn" class="ftBtn btn btn-outline-dark" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Bold">
<span class="material-symbols-outlined">
format_bold
</span>
</button>
<button type="button" id="s-Btn" class="ftBtn btn btn-outline-dark" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Strikethrough">
<span class="material-symbols-outlined">
strikethrough_s
</span>
</button>
<button type="button" id="m-Btn" class="ftBtn btn btn-outline-dark" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Monospace" style="font-family: monospace;">
Monospace
</button>
</div>
<div class="input-group rounded border border-2 border-secondary">
<span class="input-group-text" style="font-family: 'Silkscreen', cursive;">Your<br>Message<br>Here</span>
<textarea class="form-control" id="myText" placeholder="Say hello!" aria-label="Message textarea" style="height: 300px"></textarea>
</div>
<button type="button" id="copyButton" data-clipboard-action="copy" data-clipboard-target="#myText" class="my-3 align-self-center btn btn-lg btn-outline-dark" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Copy to clipboard">Copy Text</button>
</div>
</div>
</body>