Need help with dynamic and random redirection

Need help to build something like this: honestnumerologydotcom/angel_numbers/angel-bridge-v2/

Whenever the message icon is clicked, it should goes into a random number and a short message. Then when you click again, it goes into a number.

Hey @ace :waving_hand: welcome back!

That sounds like a fun idea! You can do this with a bit of simple JavaScript — basically, when someone clicks the icon, the script picks a random number and redirects to a page or shows a short message for that number.

Here’s a simple JavaScript idea you can start with:

<script>
  const messages = [
    { number: 111, text: "Stay positive and focused." },
    { number: 222, text: "Trust that everything is aligning for you." },
    { number: 333, text: "Your guides are supporting your growth." },
    { number: 444, text: "You’re on the right path — keep going!" },
  ];

  document.getElementById("message-icon").addEventListener("click", function () {
    const random = Math.floor(Math.random() * messages.length);
    const message = messages[random];
    alert(`${message.number}: ${message.text}`);
  });
</script>

:backhand_index_pointing_right: Replace message-icon with your button or icon ID.
You can also replace the alert() with a redirect like this:

window.location.href = `/number/${message.number}`;

That should get you started!