document.getElementById('commentForm').addEventListener('submit', function(e) { e.preventDefault(); const formData = new FormData(this); fetch(this.action, { method: 'POST', body: formData, headers: { 'X-Requested-With': 'XMLHttpRequest' } }) .then(response => response.json()) .then(data => { const flashContainer = document.createElement('div'); flashContainer.className = `rounded-lg p-4 mb-4 backdrop-blur-sm ${data.category === 'error' ? 'bg-red-500/10 text-red-400 border border-red-500/20' : 'bg-[#FFD700]/10 text-[#FFD700] border border-[#FFD700]/20'} transition-all duration-300`; const message = document.createElement('div'); message.className = 'flex items-center'; message.innerHTML = `
Explore our collection of science games. We have 7 games in this category.
Lucky Draw online
Incredibox - Mild As Spring
Mr-Mine
Space Survivor
Sprunki Phase 3
Sprunki Gameplay
Hoop Stars
Goblin Launcher
Doeoriki
Shootz
XTrench Run
My Monkey Game
Beat Dancer
Alien Killer
Tall Man Run
Comments
Current Path: /tag/science
Total Comments: 0
Be the first to share your thoughts!