-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
69 lines (67 loc) · 2.87 KB
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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=Archivo:ital,wght@0,300;0,500;0,600;1,300;1,500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./popup.css" />
<title>Lorem Ipsum</title>
</head>
<body>
<h1 class="font-lorem">Lorem Ipsum</h1>
<div class="generator-wrapper">
<div class="option-wrapper-full">
<div id="lorem-option" class="option-wrapper">
<input type="checkbox" id="startWithLorem" class="checkbox-hidden">
<label for="startWithLorem" class="input-wrapper checkbox checkbox-wide">
Start with<span class="font-lorem"> Lorem Ipusum</span>
</label>
</div>
<div id="lorem-option" class="option-wrapper">
<input type="checkbox" id="copyDefault" class="checkbox-hidden">
<label for="copyDefault" class="input-wrapper checkbox checkbox-wide">
Copy on Generate
</label>
</div>
</div>
<div id="sentence-option" class="option-wrapper">
<button id="buttonSentence" type="submit" class="input-wrapper">Generate Sentence</button>
<button id="buttonTitle" class="input-wrapper">Generate a Title</button>
</div>
<div id="paragraph-option" class="option-wrapper">
<button id="buttonParagraph" class="input-wrapper">Generate Paragraph</button>
<div>
<input type="number" min="1" max="20" value="7" name="numSentence" id="numSentence">
<label for="numSentence" >sentence(s) per paragraph</label>
</div>
</div>
<div id="article-option" class="option-wrapper">
<button id="buttonArticle" class="input-wrapper">Generate Article</button>
<div>
<input type="number" min="1" max="10" value="5" name="numParagraph" id="numParagraph">
<label for="numParagraph" >paragaph(s) per article</label>
</div>
</div>
<div id="textbox-default-option" class="option-wrapper-full">
<input type="checkbox" id="showResult" class="checkbox-hidden">
<label for="showResult" id="labelResult" class="input-wrapper checkbox">
Show Generated Text
</label>
<button id="buttonCopy" class="input-wrapper">Copy Text</button>
<button id="buttonDefault" class="input-wrapper">Reset to Default</button>
</div>
<div id="result"></div>
<div id="charCount-wrapper">
<div>
<span id="charCount">0</span> (<span id="charNoSpcCount">0</span>) characters (w/o whitespace)
</div>
<div><span id="wordCount">0</span> words</div>
</div>
<div id="error"></div>
</div>
<script src="./popup.js" type="module"></script>
</body>
</html>