Skip to content

Instantly share code, notes, and snippets.

View Daftscientist's full-sized avatar
🏠
Working from home

Leo Johnston Mesia Daftscientist

🏠
Working from home
View GitHub Profile
@BjornDCode
BjornDCode / gist:5cb836a6b23638d6d02f5cb6ed59a04a
Created February 3, 2020 11:58
Tailwind - Fixed sidebar, scrollable content
// Source: https://twitter.com/calebporzio/status/1151876736931549185
<div class="flex">
<aside class="h-screen sticky top-0">
// Fixed Sidebar
</aside>
<main>
// Content
</main>
@straker
straker / README.md
Last active April 16, 2026 11:31
Basic Snake HTML and JavaScript Game

ICE Out; Abolish ICE

Basic Snake HTML and JavaScript Game

Snake is a fun game to make as it doesn't require a lot of code (less than 100 lines with all comments removed). This is a basic implementation of the snake game, but it's missing a few things intentionally and they're left as further exploration for the reader.

Further Exploration