amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}

random word generator for songs

 

 

Songwriting Word Generator

Get random words to spark your creativity and inspire your next song!

Click Generate!
Words:

Your Word History

let history = [];

function generateWords() { const category = document.getElementById("categorySelect").value; const count = parseInt(document.getElementById("wordCount").value); const wordDisplay = document.getElementById("wordDisplay"); const historyWords = document.getElementById("historyWords");

let words = []; let availableWords = [];

// Get words from selected category if (category === "all") { for (const key in wordDatabase) { availableWords = availableWords.concat(wordDatabase[key]); } } else { availableWords = wordDatabase[category]; }

// Generate random words for (let i = 0; i < count; i++) { const randomIndex = Math.floor(Math.random() * availableWords.length); words.push(availableWords[randomIndex]); } // Display words if (words.length === 1) { wordDisplay.textContent = words[0]; } else { wordDisplay.textContent = words.join(", "); } // Add to history history = history.concat(words); updateHistory(); } function updateHistory() { const historyWords = document.getElementById("historyWords"); historyWords.innerHTML = ""; // Display last 20 words const recentHistory = history.slice(-20); recentHistory.forEach(word => { const wordElement = document.createElement("span"); wordElement.className = "history-word"; wordElement.textContent = word; historyWords.appendChild(wordElement); }); }