-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (40 loc) · 1.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Social Media Content Generator</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Idea Vista</h1>
<label for="platform">Select Platform:</label>
<select id="platform">
<option value="twitter">Twitter</option>
<option value="linkedin">LinkedIn</option>
</select>
<br>
<label for="promptType">Select Prompt Type:</label>
<select id="promptType" onchange="togglePrompt()">
<option value="predefined">Choose a predefined prompt</option>
<option value="custom">Enter a custom prompt</option>
</select>
<br>
<div id="predefinedPromptSection" style="display: block;">
<label for="predefinedPrompts">Select a Predefined Prompt:</label>
<select id="predefinedPrompts">
<option value="kindness">Suggest some topics for my next LinkedIn post about tech. </option>
<option value="technology">Generate ideas for a LinkedIn post related to Tech.</option>
</select>
</div>
<div id="customPromptSection" style="display: none;">
<label for="customPrompt">Enter Your Custom Prompt:</label>
<textarea id="customPrompt" placeholder="E.g., Craft a hook for a LinkedIn post about [topic].
"></textarea>
</div>
<br>
<button onclick="generateContent()">Generate Content</button>
<div id="output"></div>
<script src="script.js"></script>
</body>
</html>