Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcode24/adventjs-solutions

🎄This repository contains the solutions to the challenges of the AdventJS by @midudev.
https://github.com/marcode24/adventjs-solutions

adventjs adventjs-2021 adventjs-2022 adventjs-2023 adventjs2022 adventjs2023 challenge christmas eslint javascript solutions

Last synced: about 1 month ago
JSON representation

🎄This repository contains the solutions to the challenges of the AdventJS by @midudev.

Awesome Lists containing this project

README

        


adventjs-2024



🎄 AdventJS Solutions

![Version](https://img.shields.io/github/package-json/v/marcode24/adventjs-solutions?style=popout&logo=npm)
![GitHub CI Workflow Status](https://img.shields.io/github/actions/workflow/status/marcode24/adventjs-solutions/adventjs.yml?branch=main&style=popout&logo=testcafe&label=tests)
![GitHub repo size](https://img.shields.io/github/repo-size/marcode24/adventjs-solutions?style=popout&logo=github&label=repo%20size)
![GitHub](https://img.shields.io/github/license/marcode24/adventjs-solutions?style=popout&logo=github&label=license)
![GitHub Repo stars](https://img.shields.io/github/stars/marcode24/adventjs-solutions?style=popout&logo=apachespark&color=yellow&logoColor=yellow)
![Github repo views](https://img.shields.io/github/search/marcode24/adventjs-solutions/adventjs-solutions?style=popout&logo=github&label=repo%20views)
![GitHub last commit](https://img.shields.io/github/last-commit/marcode24/adventjs-solutions?style=popout&logo=git&label=last%20commit)

## ℹ️ About

This repository contains my solutions to the [AdventJS](https://adventjs.dev/) challenges. Built by [@midudev](https://twitter.com/midudev)

## 📥 Installation & Usage

```bash
# Clone the repository
git clone https://github.com/marcode24/adventjs-solutions

# Go into the repository
cd adventjs-solutions

# Install dependencies
npm install

# Run tests
npm run test

# Run specific year tests
npm run test:2021
# or
npm run test:2022
# or
npm run test:2023
# or
npm run test:2024

# Run specific test
npm run test 'year'/'challenge'/index.test.js

```

## 🎯 2024 Challenges

Show / Hide

| # | Challenge | Difficulty | My Solution | My Score |
| :-: | ------------------------------------------------------------------------------------------- | :--------: | :--------------------------------------------------------------------------------------------------------: | :----------- |
| 01 | [🎁 ¡Primer regalo repetido!](https://adventjs.dev/es/challenges/2024/1) | 🟢 | [here](./2024/01-primer-regalo-repetido/index.js) | ⭐⭐⭐⭐⭐ |
| 02 | [🖼️ Enmarcando nombres](https://adventjs.dev/es/challenges/2024/2) | 🟢 | [here](./2024/02-enmarcando-nombres/index.js) | ⭐⭐⭐⭐⭐ |
| 03 | [🏗️ Organizando el inventario](https://adventjs.dev/es/challenges/2024/3) | 🟢 | [here](./2024/03-organizando-el-inventario/index.js) | ⭐⭐⭐⭐⭐ |
| 04 | [🎄 Decorando el árbol de Navidad](https://adventjs.dev/es/challenges/2024/4) | 🟡 | [here](./2024/04-decorando-el-arbol-de-navidad/index.js) | ⭐⭐⭐⭐⭐ |
| 05 | [👢 Emparejando botas](https://adventjs.dev/es/challenges/2024/5) | 🟢 | [here](./2024/05-emparejando-botas/index.js) | ⭐⭐⭐⭐⭐ |
| 06 | [🎁 ¿Regalo dentro de la caja?](https://adventjs.dev/es/challenges/2024/6) | 🟡 | [here](./2024/06-regalo-dentro-de-la-caja/index.js) | ⭐⭐⭐⭐⭐ |
| 07 | [🎅🏼 El ataque del Grinch](https://adventjs.dev/es/challenges/2024/7) | 🟡 | [here](./2024/07-el-ataque-del-grinch/index.js) | ⭐⭐⭐⭐ |
| 08 | [🦌 La carrera de renos](https://adventjs.dev/es/challenges/2024/8) | 🟢 | [here](./2024/08-la-carrera-de-renos/index.js) | ⭐⭐⭐⭐⭐ |

Difficulties legend:
🟢 Easy 🟡 Medium 🔴 Hard

## 🎯 2023 Challenges

Show / Hide

| # | Challenge | Difficulty | My Solution |
| :-: | ------------------------------------------------------------------------------------------- | :--------: | :------------------------------------------------------------------------------------------------------------: |
| 01 | [¡Primer regalo repetido!](https://adventjs.dev/es/challenges/2023/1) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/01-primer-regalo-repetido) |
| 02 | [Ponemos en marcha la fábrica](https://adventjs.dev/es/challenges/2023/2) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/02-ponemos-en-marcha-la-fabrica) |
| 03 | [El elfo travieso](https://adventjs.dev/es/challenges/2023/3) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/03-el-elfo-travieso) |
| 04 | [Dale la vuelta a los paréntesis](https://adventjs.dev/es/challenges/2023/4) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/04-dale-la-vuelta-a-los-parentesis) |
| 05 | [El cybertruck de santa](https://adventjs.dev/es/challenges/2023/5) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/05-el-cybertruck-de-santa) |
| 06 | [Los renos a prueba](https://adventjs.dev/es/challenges/2023/6) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/06-los-renos-a-prueba) |
| 07 | [Las cajas en 3D](https://adventjs.dev/es/challenges/2023/7) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/07-las-cajas-en-3d) |
| 08 | [Ordenando el almácen](https://adventjs.dev/es/challenges/2023/8) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/08-ordenando-el-almacen) |
| 09 | [Alterna las luces](https://adventjs.dev/es/challenges/2023/9) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/09-alterna-las-luces) |
| 10 | [Crea tu propio árbol de navidad](https://adventjs.dev/es/challenges/2023/10) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/10-crea-tu-propio-arbol-de-navidad) |
| 11 | [Los elfos estudiosos](https://adventjs.dev/es/challenges/2023/11) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/11-los-elfos-estudiosos) |
| 13 | [Calculando el tiempo](https://adventjs.dev/es/challenges/2023/13) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/13-calculando-el-tiempo) |
| 14 | [Evita la alarma](https://adventjs.dev/es/challenges/2023/14) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/14-evita-la-alarma) |
| 15 | [Robot autónomo](https://adventjs.dev/es/challenges/2023/15) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/15-robot-autonomo) |
| 16 | [Despliegue en viernes](https://adventjs.dev/es/challenges/2023/16) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/16-despliegue-en-viernes) |
| 17 | [Optimizando el alquiler](https://adventjs.dev/es/challenges/2023/17) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/17-optimizando-el-alquiler) |
| 18 | [El reloj digital](https://adventjs.dev/es/challenges/2023/18) | 🔴 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/18-el-reloj-digital) |
| 19 | [Enfrenta el sabotaje](https://adventjs.dev/es/challenges/2023/19) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/19-enfrenta-el-sabotaje) |
| 20 | [Distribuye el peso](https://adventjs.dev/es/challenges/2023/20) | 🔴 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/20-distribuye-el-peso) |
| 21 | [Mensaje binario](https://adventjs.dev/es/challenges/2023/21) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/21-mensaje-binario) |
| 22 | [Lenguaje de programación](https://adventjs.dev/es/challenges/2023/22) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/22-lenguaje-de-programacion) |
| 23 | [La comida de navidad](https://adventjs.dev/es/challenges/2023/23) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/23-la-comida-de-navidad) |
| 24 | [Brincos en la escalera](https://adventjs.dev/es/challenges/2023/24) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/24-brincos-en-la-escalera) |
| 25 | [Calculando distancias](https://adventjs.dev/challenges/2023/25) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2023/25-calculando-distancias) |

Difficulties legend:
🟢 Easy 🟡 Medium 🔴 Hard

## 🎯 2022 Challenges

Show / Hide

| # | Challenge | Difficulty | My Solution |
| :-: | ------------------------------------------------------------------------------------------- | :--------: | :------------------------------------------------------------------------------------------------: |
| 01 | [Automatizando envolver regalos de navidad!](https://adventjs.dev/challenges/2022/1) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/01-regalos-de-navidad) |
| 02 | [Nadie quiere hacer horas extra](https://adventjs.dev/challenges/2022/2) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/02-horas-extra) |
| 03 | [¿Cuántas cajas de regalos puede llevar Papá Noel?](https://adventjs.dev/challenges/2022/3) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/03-cajas-de-regalo) |
| 04 | [Una caja dentro de otra caja y otra...](https://adventjs.dev/challenges/2022/4) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/04-caja-dentro-de-otra-caja) |
| 05 | [Optimizando viajes de Santa](https://adventjs.dev/challenges/2022/5) | 🔴 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/05-optimizando-viajes) |
| 06 | [Creando adornos navideños](https://adventjs.dev/challenges/2022/6) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/06-adornos-navideños) |
| 07 | [Haciendo inventario de regalos](https://adventjs.dev/challenges/2022/7) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/07-inventarios-de-regalos) |
| 08 | [¡Necesitamos un mecánico!](https://adventjs.dev/challenges/2022/8) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/08-mecanico) |
| 09 | [Las locas luces de Navidad](https://adventjs.dev/challenges/2022/9) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/09-locas-luces) |
| 10 | [El salto del trineo de Papá Noel](https://adventjs.dev/challenges/2022/10) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/10-salto-del-trineo) |
| 11 | [Papá Noel es Scrum Master](https://adventjs.dev/challenges/2022/11) | 🔴 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/11-es-scrum-master) |
| 12 | [Trineos eléctricos, ¡guau!](https://adventjs.dev/challenges/2022/12) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/12-trineos-electricos) |
| 13 | [Backup de los archivos de Papá Noel](https://adventjs.dev/challenges/2022/13) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/13-backup-de-archivos) |
| 14 | [El mejor camino](https://adventjs.dev/challenges/2022/14) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/14-mejor-camino) |
| 15 | [Decorando el árbol de Navidad](https://adventjs.dev/challenges/2022/15) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/15-decorando-el-arbol) |
| 16 | [Arreglando las cartas de Papá Noel](https://adventjs.dev/challenges/2022/16) | 🔴 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/16-arreglando-las-cartas) |
| 17 | [Llevando los regalos en sacos](https://adventjs.dev/challenges/2022/17) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/17-regalos-en-sacos) |
| 18 | [¡Nos quedamos sin tinta!](https://adventjs.dev/challenges/2022/18) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/18-sin-tinta) |
| 19 | [Ordenando los regalos](https://adventjs.dev/challenges/2022/19) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/19-ordenando-los-regalos) |
| 20 | [Más viajes retadores](https://adventjs.dev/challenges/2022/20) | 🔴 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/20-mas-viajes-retadores) |
| 21 | [Creando la tabla de regalos](https://adventjs.dev/challenges/2022/21) | 🟡 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/21-tabla-de-regalos) |
| 22 | [La iluminación en sintonía](https://adventjs.dev/challenges/2022/22) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/22-iluminacion-en-sintonia) |
| 23 | [Compilador de Papá Noel](https://adventjs.dev/challenges/2022/23) | 🔴 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/23-compilador-de-papa-noel) |
| 24 | [El último reto es un laberinto](https://adventjs.dev/challenges/2022/24) | 🔴 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2022/24-laberinto) |

Difficulties legend:
🟢 Easy 🟡 Medium 🔴 Hard

## 🎯 2021 Challenges

Show / Hide

| # | Challenge | Difficulty | My Solution |
| :-: | ------------------------------------------------------------------------------------------- | :--------: | :------------------------------------------------------------------------------------------------------: |
| 01 | [Contando ovejas para dormir](https://2021.adventjs.dev/challenges/01) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2021/01-contando-ovejas-para-dormir) |
| 02 | [Ayuda al elfo a listar los regalos](https://2021.adventjs.dev/challenges/02) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2021/02-ayuda-al-elfo-a-listar-los-regalos) |
| 05 | [Contando los dias para los regalos](https://2021.adventjs.dev/challenges/05) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2021/05-contando-los-dias-para-los-regalos) |
| 13 | [Envuelve regalos con asteriscos](https://2021.adventjs.dev/challenges/13) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2021/13-envuelve-regalos-con-asteriscos) |
| 16 | [Descifrando los números...](https://2021.adventjs.dev/challenges/16) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2021/16-descifrando-los-numeros) |
| 20 | [¿Una carta de pangramas?¡QUE!](https://2021.adventjs.dev/challenges/20) | 🟢 | [here](https://github.com/marcode24/adventjs-solutions/tree/main/2021/20-una-carta-de-pangramas-que) |

Difficulties legend:
🟢 Easy 🟡 Medium 🔴 Hard