Simple keyword — type any word to find entries that contain it.
- Example:faith
-
Phrase search — put quotes around a phrase to match it exactly.
- Example:"Jehovah is my shepherd"
-
OR search — use OR (uppercase).
- Example:love OR kindness
-
Exclude terms — use - to remove.
- Example:hope -future
-
Wildcard search — use *.
- Example:lov*
-
Scripture search — type a Bible book.
- Example:John 3:16
-
@@ -225,22 +197,6 @@
});
});
- // Help panel toggle (unchanged)
- document.addEventListener('click', function(e){
- const btn = e.target.closest('.help-toggle');
- if (btn) {
- const panel = document.querySelector(btn.dataset.target || '#search-help-panel');
- if (panel) panel.classList.toggle('open');
- return;
- }
- const panel = document.querySelector('#search-help-panel');
- if (!panel) return;
- if (panel.classList.contains('open')) {
- const clickedInside = panel.contains(e.target) || e.target.closest('.help-toggle');
- if (!clickedInside) panel.classList.remove('open');
- }
- });
-
// ===============================
// No-results: show a random funny illustration
// ===============================
@@ -254,7 +210,7 @@
`It’s like looking for a matching sock. You find five that are “close enough,” but never the one you actually need.`,
`It’s like running into the store for peanut butter. You leave with bread, bananas, cereal, and gum—somehow no peanut butter.`,
`It feels like searching for your car keys when you’re late. You check the counter, pockets, and finally… the fridge. Next to the milk.`,
- `It’s like walking around the house holding your phone in the air, trying to catch a Wi‑Fi signal that appears and vanishes at random.`,
+ `It’s like walking around the house holding your phone in the air, trying to catch a Wi-Fi signal that appears and vanishes at random.`,
`Imagine a giant library where you’re sure the book is “right here.” You scan up, down, left, right—then realize you’re in the wrong aisle.`,
`It’s like following GPS: “Turn left now!” You miss it, circle the block, and the voice keeps politely “recalculating.”`,
`It’s like trying to find an umbrella on a sunny day—no luck. The moment it pours, suddenly you own five.`,
@@ -284,7 +240,7 @@
const today = new Date();
const ymd = today.getFullYear()*10000 + (today.getMonth()+1)*100 + today.getDate();
- // 32‑bit xorshift PRNG for a good daily seed
+ // 32-bit xorshift PRNG for a good daily seed
function xorshift32(seed){
let x = seed | 0;
x ^= x << 13; x ^= x >>> 17; x ^= x << 5;
@@ -362,19 +318,6 @@