Backend developer building with Laravel, with a growing appreciation for Python, Go, and all things server. I make things work, and I document the journey getting there.
I'm Kirsty. This is my journey from knowing nothing to becoming a full stack developer. I learn, I explore, and it all leads back to one goal.
Can you solve my JavaScript riddle? No pressure... but there's imaginary cookies at stake! 🍪
function kirstyMagic(input) {
// Transform the input into something magical
const sparkles = input.split('').map((char, i) =>
i % 2 === 0 ? char.toUpperCase() : char.toLowerCase()
).join('');
return `✨ ${sparkles} ✨`;
}
// Your task: What does kirstyMagic('hello world') return?
// Type your answer below and check it!