Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 740 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 740 Bytes

Day 20 - Elf Name Generator 🧝

Challenge

  • Generate an elf first and last name that matches the user’s first and last name initials, then display it on the screen.
  • Example: if the user’s name is "John Doe," the elf name could be "Joyful Dazzle."
  • Display the generated elf names in the "Registered Employees" list.

Stretch Goals 🌟

  • Generate the elf names using an LLM API (like HuggingFace).
  • Don't save the same name twice. (not necessary for the normal task)
  • Make sure to use Scrimba's environment variables feature so you don't expose your API key

Solution

Srim code


🔙 Javascriptmas 2024