Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en" dir="ltr">
- <head>
- <meta charset="UTF-8">
- <title>Save Text As File</title>
- <link rel="stylesheet" href="style.css">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <script src="script.js" defer></script>
- </head>
- <body>
- <div class="wrapper">
- <textarea required placeholder="Enter something to save"></textarea>
- <div class="file-options">
- <div class="optins file-name">
- <label>File Name</label><div></div>
- <input type="text" placeholder="Enter file name">
- </div>
- <div class="options save-as">
- <label>Save As</label>
- <div class="select-menu">
- <select>
- <option value="text/plain">Text File (.txt)</option>
- <option value="text/javascript">JS File (.js)</option>
- <option value="text/html">HTML File (.html)</option>
- <option value="image/svg+xml">SVG File (.svg)</option>
- <option value="application/msword">Doc File (.doc)</option>
- <option value="application/vnd.ms-powerpoint">PPT File (.doc)</option>
- </select>
- </div>
- </div>
- </div>
- <button class="save-btn">Save As Text File</button>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement