You can send your questions to my email to get faster answer in 24 hours (free).
Buy me a coffee

Click button – Show Random Question

Edit Page where you want to add effect > Add a Code Block > Paste the code

<div class="well">
            <p class="lead text-center" id="wellSentence">Hello!</p>
        </div>
        <!-- End Well -->

        <div class="generator text-center">
            <button class="btn btn-warning" type="button" name="button" id="generateNew">Generate New Sentence!</button>
        </div>
<style>
  div.code-block * {
    font-size: 38px !important;
    text-align: center;
     font-family: SuisseIntlMono-Regular;
}
  button#generateNew {
    background-color: #fff !important;
    font-size: 24px !important;
}
  </style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
        <script>
          $(document.body).click(function() {

  var sentenceArray = [
        "Thou shalt have no other gods before Me.",
        "Thou shalt not make idols.",
        "Thou shalt not take the name of the LORD thy God in vain.",
        "Remember the Sabbath day, to keep it holy.",
        "Honor thy father and thy mother.",
        "Thou shalt not murder.",
        "Thou shalt not commit adultery.",
        "Thou shalt not steal.",
        "Thou shalt not bear false witness against thy neighbor.",
        "Thou shalt not covet thy neighbour’s wife, thou shalt not covet thy neighbour’s house ."
        ],

  randSentence = sentenceArray[Math.floor(Math.random() * sentenceArray.length)];
  document.getElementById("wellSentence").textContent = randSentence;
  if (typeof prevSentence == "undefined") {
        newSentence = randSentence;
      } else {
        newSentence = randSentence;
        if (newSentence == prevSentence) randomNum += 1;
      };
  });
</script>

click-button-show-random-question-01-min

To change the question text, find these lines

click-button-show-random-question-02-min

Ask me a question, free

If your site is private or in trial, just setup password and share url. See how to: https://beaverhero.com/squarespace-how-to/
Please check your email carefully. Recently I got a lot of questions with wrong emails.

If you haven't heard from me within 24 hours please check your junk/spam folder