Skip to content

Commit

Permalink
Double Check
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonMoon2 committed Jan 16, 2024
1 parent bc734f6 commit 6361f9c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions js/prompts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
$("#newPromptBtn").on("click", function() {
$("#prompt").html(promptList[Math.floor(Math.random() * promptList.length)])
});

const promptList = [
"This is a test prompt",
"This is another"
];

0 comments on commit 6361f9c

Please sign in to comment.