Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/emilyhunt/advent-of-code. My attempts at the Advent of Code coding challenges! aoc.emilydoesastro.com
advent-of-code-2021 advent-of-code-2022 advent-of-code-2022-javascript advent-of-code-2023 advent-of-code-2023-javascript
Something went wrong. Try again.
4.5 kB · 104 lines
HTML
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105<!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8" /> <link rel="icon" href="./favicon.png" /> <meta name="viewport" content="width=device-width" /> <link href='https://fonts.googleapis.com/css?family=Source+Code+Pro' rel='stylesheet' type='text/css'> <link href="./_app/immutable/assets/GetUserData.968c560a.css" rel="stylesheet"> <link href="./_app/immutable/assets/_page.e344fce4.css" rel="stylesheet"> <link rel="modulepreload" href="./_app/immutable/entry/start.3aab3f4a.js"> <link rel="modulepreload" href="./_app/immutable/chunks/scheduler.fd3686c2.js"> <link rel="modulepreload" href="./_app/immutable/chunks/singletons.0033f6a9.js"> <link rel="modulepreload" href="./_app/immutable/chunks/index.fc7d12dd.js"> <link rel="modulepreload" href="./_app/immutable/entry/app.a97a8df6.js"> <link rel="modulepreload" href="./_app/immutable/chunks/preload-helper.a4192956.js"> <link rel="modulepreload" href="./_app/immutable/chunks/index.a4ac66b3.js"> <link rel="modulepreload" href="./_app/immutable/nodes/0.3e176e43.js"> <link rel="modulepreload" href="./_app/immutable/chunks/stores.d0522e7c.js"> <link rel="modulepreload" href="./_app/immutable/chunks/stores.677741b2.js"> <link rel="modulepreload" href="./_app/immutable/nodes/5.99850afe.js"> <link rel="modulepreload" href="./_app/immutable/chunks/PuzzleList.b38c92f6.js"> <link rel="modulepreload" href="./_app/immutable/chunks/await_block.5bed495b.js"><title>Emily's Advent of Code</title><!-- HEAD_svelte-1uo06u1_START --><!-- HEAD_svelte-1uo06u1_END --> </head> <body> <div> <header><h1 style="color: #e3e3e3; margin-bottom: 0.2em; margin-top: 0.2em;" data-svelte-h="svelte-11nbxet">Emily's Advent of Code</h1> <a href="/" data-svelte-h="svelte-18rze8u">[home]</a> <a rel="external" target="_blank" href="https://github.com/emilyhunt/advent-of-code">[repo]</a> <a rel="external" target="_blank" href="https://github.com/emilyhunt/advent-of-code/tree/main/src/routes/">[page source code]</a> </header> <p data-svelte-h="svelte-keraaz">Welcome to my attempts at solving <a href="https://adventofcode.com/">Advent of Code</a> puzzles using Javascript and <a href="https://svelte.dev/">Svelte</a>.</p> <p data-svelte-h="svelte-nj0ygn">These puzzles run entirely in your web browser. Static code is hosted using GitHub Pages. Every puzzle has a custom input button - so you can also try your own puzzle data on my code!</p> <img src="https://i.giphy.com/media/RdzzVrtvfqnM4/giphy.webp" alt="Cats wearing Christmas Hats" width="300"> <h2 data-svelte-h="svelte-12o333f">Puzzles by year</h2> <ul data-svelte-h="svelte-1md2sbt"><li><a href="/2021">[2021] - Find the Lost Sleigh Keys</a></li> <li><a href="/2022">[2022] - The Magic Star Expedition</a></li> <li><a href="/2023">[2023] - Ho Ho Ho... But Where Is All The Snow?!</a></li></ul> <h2 data-svelte-h="svelte-1k96o7n">All completed puzzles</h2> <p data-svelte-h="svelte-cyqisy">Generating list of puzzles...</p> <script> { __sveltekit_10lwc3e = { base: new URL(".", location).pathname.slice(0, -1), env: {} };
const element = document.currentScript.parentElement;
const data = [null,null];
Promise.all([ import("./_app/immutable/entry/start.3aab3f4a.js"), import("./_app/immutable/entry/app.a97a8df6.js") ]).then(([kit, app]) => { kit.start(app, element, { node_ids: [0, 5], data, form: null, error: null }); }); } </script> </div> </body></html>
<style> body { background: #232323; /*337 x 5*/ color: #e3e3e3; font-family: "Source Code Pro", monospace; font-size: 15pt; max-width: 960px; /* margin: auto; /* this centers the page */ } header { margin-bottom: 2em; } a { text-decoration: none; color: #5bbdda; } a:hover, a:focus { color: #10b1e2; } h1 { font-family: 'Source Code Pro', monospace; font-size: 30pt; } p { font-family: 'Source Code Pro', monospace; font-size: 15pt; } ul { list-style-type: square; } button { font-family: 'Source Code Pro', monospace; font-size: 16pt; } input[type="text"], textarea { background: transparent; color: inherit; border: 2px solid #666666; background: #2e2e2e; padding: 2px; font-family: inherit; font-size: 12pt; margin-top: 4px; } .result { color: #5bbdda; }</style>