25 lines
842 B
HTML
25 lines
842 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Text to Image</title>
|
|
<link rel="stylesheet" href="style.css" />
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<select id="background">
|
|
<option value="#00000000">Transparent</option>
|
|
<option value="#1A1A1E">Dark</option>
|
|
<option value="#323339">Ash</option>
|
|
<option value="#070709">Onyx</option>
|
|
<option value="#FBFBFB">Light</option>
|
|
</select>
|
|
<textarea id="input" autofocus></textarea>
|
|
<canvas id="canvas"></canvas>
|
|
<img alt="preview" id="preview" />
|
|
</div>
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html>
|