Prompts99.com

Story Prompt Generator

📖 Story Prompt Generator

Generate unique story prompts with customizable elements

✨ Your Story Prompt

`; promptResults.appendChild(card); } function clearForm() { formInputs.forEach(input => { if (input.type !== 'checkbox') { input.value = input.id === 'genre' ? 'random' : input.id === 'tone' ? 'random' : input.id === 'length' ? 'short' : ''; } }); checkboxes.forEach(checkbox => { checkbox.checked = ['protagonist', 'antagonist', 'setting'].includes(checkbox.id); }); resultsSection.style.display = "none"; } function escapeHtml(unsafe) { return unsafe .replace(/&/g, "&") .replace(//g, ">") .replace(/"/g, """) .replace(/'/g, "'"); } }); // Global function function copyToClipboard(text) { navigator.clipboard.writeText(text) .then(() => alert("Prompt copied to clipboard!")) .catch(() => alert("Failed to copy.")); }
Report
Web Home Analyze Generate Library All tools