This project implements the logic of a Secret Santa draw using JavaScript. The application allows the user to enter a list of names and then performs a fair draw, ensuring that no one draws themselves.
It is a simple and practical tool to organize the gift exchange game among groups of friends, family, or coworkers.
- Add Participants: Field to enter participants' names.
- Draw: Drawing algorithm that ensures each person draws a different friend.
- Display Result: Clearly shows the draw results.
- Reset: Option to clear the list and start a new draw.
The project was built using the following technologies:
| Technology | Description |
|---|---|
| HTML5 | Interface structure for name input and result display. |
| CSS3 | Styling for a pleasant user experience. |
| JavaScript (ES6+) | Core draw logic and participant list management. |
To use the application, follow these steps:
- Clone the repository:
git clone https://github.com/JessyTeixeira-QA/Amigo-Secreto.git
- Navigate to the project directory:
cd Amigo-Secreto/amigo-secreto - Open the
index.htmlfile in your preferred browser.
Developed by Jessy Teixeira.
This project is licensed under the MIT License. See the LICENSE file for more details. (Assuming the MIT license will be added or already exists; otherwise, this line can be adjusted).