-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (29 loc) · 1.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=0.8">
<link rel="stylesheet" href="style.css">
<title>Wordshade</title>
</head>
<body>
<h1 id="title">Wordshade</h1>
<div id="instructions-container">
<h2 id="instructions">Each time you press "Create", a random blackout poem is generated.</h2>
<h2 id="instructions">You can use the sample text below or enter your own text.</h2>
<h2 id="instructions">Press "Save" to receive a copy of the poem as a .txt file.</h2>
</div>
<div id="paragraph-container">
<textarea id="paragraph-input" name="paragraph" cols="40" rows="10" placeholder="Enter text">Choosing to selectively obscure words in an existing text gives rise to blackout poetry. It challenges you to reflect on your own perspectives and understanding of language.</textarea>
</div>
<div id="button-container">
<button id="generate-button" onclick="generatePoetry()">Create</button>
<button id="save-button" onclick="saveAsTxt()">Save</button>
</div>
<div id="poetry-container">
<p id="highlighted-paragraph"></p>
</div>
<script src="highlight.js"></script>
<footer>© 2023 Michael Rutherford</footer>
</body>
</html>