Challenge 1 del curso Alura para programacion
This is a programming exercise from Alura Latam focused on JavaScript logic and DOM manipulation. The goal is to build an interactive "Secret Santa" web app that lets users add participant names and randomly pick a secret friend.
Core Functionality
Add participants: Users input a name and click "Añadir" (Add) to include it in a list.
Input validation: If the input field is empty or invalid, an alert is shown.
Dynamic list display: Added names appear immediately in a visible list on the page.
Random draw: Clicking the "Sortear Amigo" button randomly selects one name from the list and displays it as the secret friend.