// jQuery Playground - Edit me!
import $ from 'jquery'
// Make jQuery available globally for console testing
window.$ = $
$(document).ready(function() {
console.log('jQuery loaded! Version:', $.fn.jquery)
let clickCount = 0
const $element = $('#animated-element')
const $status = $('#status')
// Update status
function setStatus(text, type = 'success') {
const colors = {
success: 'bg-emerald-500/20 text-emerald-400',
info: 'bg-blue-500/20 text-blue-400',
warning: 'bg-amber-500/20 text-amber-400'
}
$status
.removeClass()
.addClass('px-2 py-1 rounded text-xs ' + colors[type])
.text(text)
}