{"id":13544242,"url":"https://github.com/monicatvera/adventjs","last_synced_at":"2025-04-11T19:09:59.908Z","repository":{"id":172187966,"uuid":"434700773","full_name":"monicatvera/adventjs","owner":"monicatvera","description":"solutions to the challenges adventjs.dev","archived":false,"fork":false,"pushed_at":"2023-12-25T13:34:46.000Z","size":143,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-21T17:11:31.643Z","etag":null,"topics":["2023","adventjs","challenges","challenges-solutions","challenges-solved","christmas","javascript","midudev","midudev-advent-js-2023"],"latest_commit_sha":null,"homepage":"https://adventjs.dev/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monicatvera.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-12-03T18:48:26.000Z","updated_at":"2024-01-05T15:21:46.000Z","dependencies_parsed_at":"2024-01-16T17:03:09.016Z","dependency_job_id":"09d9f6a5-1947-4898-898e-96f4b0660b08","html_url":"https://github.com/monicatvera/adventjs","commit_stats":null,"previous_names":["monicatvera/adventjs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monicatvera%2Fadventjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monicatvera%2Fadventjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monicatvera%2Fadventjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monicatvera%2Fadventjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monicatvera","download_url":"https://codeload.github.com/monicatvera/adventjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465342,"owners_count":21108244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2023","adventjs","challenges","challenges-solutions","challenges-solved","christmas","javascript","midudev","midudev-advent-js-2023"],"created_at":"2024-08-01T11:00:44.294Z","updated_at":"2025-04-11T19:09:59.885Z","avatar_url":"https://github.com/monicatvera.png","language":"JavaScript","funding_links":[],"categories":["🦠 2021"],"sub_categories":["🧑‍💻 Solutions"],"readme":"# 🎅💻️ adventJS solutions\n\u003cp align=\"center\"\u003e \n  \u003cimg src=https://i.imgur.com/mOUN7uE.png/\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e🧑‍🚀 24 days /\n24 coding challenges • \u003ca href=\"https://adventjs.dev\"\u003eadventJS\u003c/a\u003e 🚀\u003c/h3\u003e\n\nThis repository contains the solutions to the challenges proposed by [@midudev](https://midu.dev/) on the [adventJS](https://adventjs.dev/) website.\n\n## 🦠 2021\n\n\u003cdetails hide\u003e\n\u003csummary\u003eShow / Hide\u003c/summary\u003e\n\n### 🎮️ Challenges\n\n|  #  |                                       Challenge                                        | Difficulty[^1] |               Solution                |\n| :-: | :------------------------------------------------------------------------------------: | :------------: | :-----------------------------------: |\n| 01  |                    [Contando ovejas para dormir](2021/01-ovejas)                    |       🟢       | [Show](2021/01-ovejas/01-Ovejas.md) |\n| 02  |               [¡Ayuda al elfo a listar los regalos!](2021/02-elfo)                |       🟢       | [Show](2021/02-elfo/02-elfo.md) |\n| 03  |               [El Grinch quiere fastidiar la Navidad](2021/03-grinch)               |       🟠       | [Show](2021/03-grinch/03-grinch.md) |\n| 04  |               [¡Es hora de poner la navidad en casa!](2021/04-arbol)               |       🟠       | [Show](2021/04-arbol/04-arbol.md) |\n| 05  |                [Contando los días para los regalos](2021/05-regalos)                 |       🟢       | [Show](2021/05-regalos/05-regalos.md) |\n| 06  |                  [Rematando los exámenes finales](2021/06-mates)                   |       🟠       | [Show](2021/06-mates/06-mates.md) |\n| 07  |                     [Buscando en el almacén...](2021/07-almacen)                     |       🟠       | [Show](2021/07-almacen/07-almacen.md) |\n| 08  |                  [La locura de las criptomonedas](2021/08-cripto)                   |       🟠       | [Show](2021/08-cripto/08-cripto.md) |\n| 09  |                  [Agrupando cosas automáticamente](2021/09-cosas)                  |       🔴       | [Show](2021/09-cosas/09-cosas.md) |\n| 10  |                       [La máquina del cambio](2021/10-maquina)                       |       🔴       | [Show](2021/10-maquina/10-maquina.md) |\n| 11  |           [¿Vale la pena la tarjeta fidelidad del cine?](2021/11-cine)            |       🟠       | [Show](2021/11-cine/11-cine.md) |\n| 12  |              [La ruta perfecta para dejar los regalos](2021/12-regalo)              |       🔴       | [Show](2021/12-regalo/12-regalo.md) |\n| 13  |                  [Envuelve regalos con asteriscos](2021/13-asterisco)                  |       🟢       | [Show](2021/13-asterisco/13-asterisco.md) |\n| 14  |                     [En busca del reno perdido](2021/14-reno)                     |       🟠       | [Show](2021/14-reno/14-reno.md) |\n| 15  |                         [El salto perfecto](2021/15-salto)                         |       🟠       | [Show](2021/15-salto/15-salto.md) |\n| 16  |                    [Descifrando los números...](2021/16-numero)                     |       🟢       | [Show](2021/16-numero/16-numero.md) |\n| 17  |            [La locura de enviar paquetes en esta época](2021/17-paquete)             |       🔴       | [Show](2021/17-paquete/17-paquete.md) |\n| 18  |                [El sistema operativo de Santa Claus](2021/18-sistema)                |       🟢       | [Show](2021/18-sistema/18-sistema.md) |\n| 19  |                [¿Qué deberíamos aprender en Platzi?](2021/19-platzi)                |       🟠       | [Show](2021/19-platzi/19-platzi.md) |\n| 20  |                  [¿Una carta de pangramas? ¡QUÉ!](2021/20-carta)                   |       🟢       | [Show](2021/20-carta/20-carta.md) |\n| 21  |                      [La ruta con los regalos](2021/21-ruta)                      |       🔴       | [Show](2021/21-ruta/21-ruta.md) |\n| 22  |                [¿Cuántos adornos necesita el árbol?](2021/22-adornos)                |       🟠       | [Show](2021/22-adornos/22-adornos.md) |\n| 23  | [¿Puedes reconfigurar las fábricas para no parar de crear regalos?](2021/23-fabrica) |       🟣       | [Show](2021/23-fabrica/23-fabrica.md) |\n| 24  |                   [Comparando árboles de Navidad](2021/24-arboles)                   |       🟠       | [Show](2021/24-arboles/24-arboles.md) |\n| 25  |            [El último juego y hasta el año que viene 👋](2021/25-juego)            |       🟠       | [Show](2021/25-juego/25-juego.md) |\n\n[^1]: **Difficulty**: 🟢 Easy 🟠 Medium 🔴 Hard 🟣 Very Hard\n\u003c/details\u003e\n\n\u003c/br\u003e\n\n## 🤖 2022\n\n\u003cdetails hide\u003e\n\n\u003csummary\u003eShow / Hide\u003c/summary\u003e\n\n### 🎮️ Challenges\n|  #  |                           Challenge                           | Difficulty[^1] |               Solution                |\n| :-: | :-----------------------------------------------------------: | :------------: | :-----------------------------------: |\n| 01  |   [Automating Christmas gift wrapping!](2022/challenge-01)    |       🟢       | [Show](2022/challenge-01/solution.js) |\n| 02  |  [Nobody wants to do extra hours at work](2022/challenge-02)  |       🟢       | [Show](2022/challenge-02/solution.js) |\n| 03  | [How many packs of gifts can Santa carry?](2022/challenge-03) |       🟢       | [Show](2022/challenge-03/solution.js) |\n| 04  |     [Box inside a box and another...](2022/challenge-04)      |       🟠       | [Show](2022/challenge-04/solution.js) |\n| 05  |         [Optimizing Santa's trips](2022/challenge-05)         |       🔴       | [Show](2022/challenge-05/solution.js) |\n| 06  |        [Creating xmas decorations](2022/challenge-06)         |       🟠       | [Show](2022/challenge-06/solution.js) |\n| 07  |          [Doing gifts inventory](2022/challenge-07)           |       🟢       | [Show](2022/challenge-07/solution.js) |\n| 08  |           [We need a mechanic!](2022/challenge-08)            |       🟠       | [Show](2022/challenge-08/solution.js) |\n| 09  |            [Crazy Xmas lights](2022/challenge-09)             |       🟢       | [Show](2022/challenge-09/solution.js) |\n| 10  |       [The Santa Claus sleigh jump](2022/challenge-10)        |       🟠       | [Show](2022/challenge-10/solution.js) |\n| 11  |       [Santa Claus is Scrum Master](2022/challenge-11)        |       🔴       | [Show](2022/challenge-11/solution.js) |\n| 12  |          [Electric sleighs, wow!](2022/challenge-12)          |       🟠       | [Show](2022/challenge-12/solution.js) |\n| 13  |      [Backups for Santa Claus files](2022/challenge-13)       |       🟢       | [Show](2022/challenge-13/solution.js) |\n| 14  |              [The best path](2022/challenge-14)               |       🟢       | [Show](2022/challenge-14/solution.js) |\n| 15  |      [Decorating the Christmas tree](2022/challenge-15)       |       🟠       | [Show](2025/challenge-15/solution.js) |\n| 16  |       [Fixing Santa Claus' letters](2022/challenge-16)        |       🔴       | [Show](2022/challenge-16/solution.js) |\n| 17  |          [Carrying gifts in bags](2022/challenge-17)          |       🟠       | [Show](2022/challenge-17/solution.js) |\n| 18  |            [We ran out of ink!](2022/challenge-18)            |       🟢       | [Show](2022/challenge-18/solution.js) |\n| 19  |            [Sorting the toys!](2022/challenge-19)             |       🟢       | [Show](2022/challenge-19/solution.js) |\n| 20  |            [More challenging trips](2022/challenge-20)             |       🔴       | [Show](2022/challenge-20/solution.js) |\n| 21  |            [Creating the gifts table](2022/challenge-21)             |       🟠       | [Show](2022/challenge-21/solution.js) |\n| 22  |            [The lighting in tune](2022/challenge-22)             |       🟢       | [Show](2022/challenge-22/solution.js) |\n| 23  |            [Santa Claus Compiler](2022/challenge-23)             |       🔴       | [Show](2022/challenge-23/solution.js) |\n| 24  |            [The last challenge is a maze](2022/challenge-24)             |       🔴       | [Show](2022/challenge-24/solution.js) |\n\n[^1]: **Difficulty**: 🟢 Easy 🟠 Medium 🔴 Hard 🟣 Very Hard\n\n\u003c/details\u003e\n\n\u003c/br\u003e\n\n## 🎁 2023\n\n\u003cdetails open\u003e\n\n\u003csummary\u003eShow / Hide\u003c/summary\u003e\n\n### 🎮️ Challenges\n|  #  |                           Challenge                           | Difficulty[^1] |               Solution                |\n| :-: | :-----------------------------------------------------------: | :------------: | :-----------------------------------: |\n| 01  |   [First repeat gift!](2023/challenge-01)    |       🟢       | [Show](2023/challenge-01/solution.js) |\n| 02  |  [Factory in Action!](2023/challenge-02)  |       🟢       | [Show](2023/challenge-02/solution.js) |\n| 03  | [The naughty elf](2023/challenge-03) |       🟢       | [Show](2023/challenge-03/solution.js) |\n| 04  |     [Reverse the Parentheses](2023/challenge-04)      |       🟠       | [Show](2023/challenge-04/solution.js) |\n| 05  |         [Santa's CyberTruck](2023/challenge-05)         |       🟠       | [Show](2023/challenge-05/solution.js) |\n| 06  |        [The reindeer on trial](2023/challenge-06)         |       🟢       | [Show](2023/challenge-06/solution.js) |\n| 07  |        [The 3D boxes](2023/challenge-07)         |       🟢       | [Show](2023/challenge-07/solution.js) |\n| 08  |        [Sorting the warehouse](2023/challenge-08)         |       🟠       | [Show](2023/challenge-08/solution.js) |\n| 09  |        [Switch the lights](2023/challenge-09)         |       🟢       | [Show](2023/challenge-09/solution.js) |\n| 10  |        [Create your own Christmas tree](2023/challenge-10)         |       🟢       | [Show](2023/challenge-10/solution.js) |\n| 11  |        [The studious elves](2023/challenge-11)         |       🟠       | [Show](2023/challenge-11/solution.js) |\n| 12  |        [Is it a valid copy?](2023/challenge-12)         |       🟠       | [Show](2023/challenge-12/solution.js) |\n| 13  |        [Calculating the time](2023/challenge-13)         |       🟢       | [Show](2023/challenge-13/solution.js) |\n| 14  |        [Avoid the alarm](2023/challenge-14)         |      🟠        | [Show](2023/challenge-14/solution.js) |\n| 15  |        [Autonomous robot](2023/challenge-15)         |      🟠        | [Show](2023/challenge-15/solution.js) |\n| 16  |        [Friday deployment](2023/challenge-16)         |      🟢        | [Show](2023/challenge-16/solution.js) |\n| 17  |        [Optimizing the rental](2023/challenge-17)         |      🟢        | [Show](2023/challenge-17/solution.js) |\n| 18  |        [The digital clock](2023/challenge-18)         |      🔴        | [Show](2023/challenge-18/solution.js) |\n| 19  |        [Face the sabotage](2023/challenge-19)         |       🟠       | [Show](2023/challenge-19/solution.js) |\n| 20  |        [Distribute the weight](2023/challenge-20)         |       🔴       | [Show](2023/challenge-20/solution.js) |\n| 21  |        [Binary message](2023/challenge-21)         |       🟠       | [Show](2023/challenge-21/solution.js) |\n| 22  |        [Programming language](2023/challenge-22)         |       🟢       | [Show](2023/challenge-22/solution.js) |\n| 23  |        [Christmas dinner](2023/challenge-23)         |       🟢       | [Show](2023/challenge-23/solution.js) |\n| 24  |        [Jump on the stairs](2023/challenge-24)         |       🟠       | [Show](2023/challenge-24/solution.js) |\n| 25  |        [Calculating distances](2023/challenge-25)         |       🟠       | [Show](2023/challenge-25/solution.js) |\n\n[^1]: **Difficulty**: 🟢 Easy 🟠 Medium 🔴 Hard 🟣 Very Hard\n\n\u003c/details\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonicatvera%2Fadventjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonicatvera%2Fadventjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonicatvera%2Fadventjs/lists"}