body > nav a {
text-decoration:none;
}
body > nav a::hover {
text-decoration:underline;
}
body > nav a + a::before {
content:' • ';
color:var(--text);
}
JAVASCRIPT
Just A Very Asinine Stupid Codebase Really It's Painful Too
Causes every bug on the page
Well-deserved reputation
if (document.readyState !== 'loading') {
main();
} else {
console.warn('js loaded early');
document.addEventListener(
'DOMContentLoaded',
main
);
}
<header>
<h1>making a slideshow in html</h1>
<h2>and css and javascript and all
that jazz</h2>
Carston Wiebe
<br />
<time>2025.01.31</time>
</header>
<section>
<h2>html format</h2>
<ul>
<li>How do we represent a
slideshow?</li>
</ul>
</section>
css reset
By default, everything looks bad
More importantly, everything looks bad differently
function changeSlide(event) {
if (!event) {
nextSlide();
} else {
switch (event.keyCode) {
case 32: // Space.
case 39: // Left.
case 74: // j.
nextSlide();
break;
case 8: // Backspace.
case 37: // Right.
case 75: // k.
prevSlide();
}
}
}