function generateStory() {
const character = document.getElementById("character").value;
const place = document.getElementById("place").value;
const event = document.getElementById("event").value;
const story = `${character} went to ${place} and ${event}.`;
document.getElementById("story").textContent = story;
}
0 comments:
Post a Comment