Advent of Javascript 2024

A 24-day JS challenge created by Amy Dutton. I'm not taking the challenge, or the prompts too seriously β€” just having some fun, doing select few, and modifying the prompts how I see fit ✌️
Using Svelte 5.

01.12.2024
Show / hide password

Create a password input field. Clicking on the eyeball will toggle the password visibility on and off. I did not bother with the svg animation and just played with the background elements.

02.12.2024
Custom combobox / dropdown

Custom combobox / dropdown πŸŽ„πŸŽ„πŸŽ„ with a search field. Got a bit messy and used AI for some things, but it works.

03.12.2024
Resizable text area

Resizable text area

04.12.2024
Resizable splitpanels

Resizable splitpanels

05.12.2024
Character counter

Character counter. By far the easiest so far β€” just binding text with the input and using derived to show text.length.

06.12.2024
Copy to clipboard

An input with a copy to clipboard button and a tooltip.

07.12.2024
Slugify input

Slugify text from the input to a url slug.

08.12.2024
Tag input editor

By default, the input looks like a normal text input. When the user enters some text and then types a comma, the text turns into a tag. The user can enter as many tags as they’d like. If there isn’t any text in the input and the user hits the delete key, then it will delete the last tag in the list.

09.12.2024
Persistent form data

Before the user submits the form, they should be able to refresh the page or visit another page, come back, and see all their form data.
Once the user submits the form, the form data should clear

12.12.2024
Quote generator

Used the Kanye Rest API here instead.

15.12.2024
Responsive Youtube embed

A simple responsive full-width Youtube embed component that respects the aspect ratio.