Skip to main content
"Pin Collectors Beware: Are You Making This Costly Mistake with Your Display? Discover the Ultimate Solution to Protect and Showcase Your Treasured Pins!"

"Pin Collectors Beware: Are You Making This Costly Mistake with Your Display? Discover the Ultimate Solution to Protect and Showcase Your Treasured Pins!"

7 days ago
·
Written by R.J. Hevier
Are you a fan of collecting Disney or enamel pins? If so, you may be wondering how best to displa...
Continue reading

Pin Trading at Cooperstown: A Uniquely Fun Experience

·
Written by R.J. Hevier
In Cooperstown, pin trading is a beloved tradition among Little League players and families during the annual tournament. Players use pinfolios to hold and display their pins, and trading takes place throughout the week, culminating in a parade and ceremony where teams can trade with each other. Pin trading is a fun activity that teaches sportsmanship and respect for opponents and different regions.
Continue reading
document.addEventListener("DOMContentLoaded", function() { let toggleButton = document.querySelector("#pinny-toggle"); let chatbox = document.querySelector("#pinny-chatbox"); let sendButton = document.querySelector(".pinny-send-btn"); if (!toggleButton || !chatbox || !sendButton) { console.error("Pinny Chat elements not found on the page."); return; } toggleButton.onclick = function() { chatbox.style.display = chatbox.style.display === "flex" ? "none" : "flex"; }; sendButton.onclick = function() { let input = document.querySelector(".pinny-input"); let message = input.value.trim(); if (!message) return; let messages = document.querySelector("#pinny-messages"); messages.innerHTML += `
You: ${message}
`; fetch("https://pinny-chatbot-bc02cd1c9b90.herokuapp.com/search", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ query: message }) }) .then(response => response.json()) .then(data => { messages.innerHTML += `
Pinny: ${data.reply}
`; messages.scrollTop = messages.scrollHeight; }) .catch(error => { console.error("Fetch error:", error); messages.innerHTML += `
Pinny: Oops! Something went wrong. Try again later.
`; }); input.value = ""; }; });