Tell HN: I let my 6-year-old daughter design my website
923 pointsWe had some free time during the Chinese New Year vacation (we live in Taiwan). So I thought it would be fun to work with my daughter on a little web project.
She did all the drawings. I digitized them and added them to the page as inline SVGs. Then I wrote the code. Nothing fancy — it's just one HTML page with a few links. But I like the end result (yes, I'm 100% biased): https://kevin.tw
Fun technical facts: the page is entirely self-contained (except the favicon). It doesn't have any JavaScript at all. And it weighs 35Kb total (52Kb if you include the favicon).
Comments (182) 88 threads
Earlier commentsDid the same kind of thing a few years ago. When my kids were in to tower defense games.
https://pettersson.casa/td2/
The implementation is nothing fancy at all. The graphics is done with PixiJS, and there is a sprinkle of jQuery and TweenMax for the movement.
I also like the no-bs approach on the technical side. This is indeed a page that does not need a single line of Javascript and it's a testament to what you can do with most basic web technology. I hope this lightness will have its big comeback someday.
I have made a self contained page as well a few days ago. This is oddly satisfying. I use pixel art to make the illustrations (it's all CSS though).
If you want to take a look at it : https://drdru.github.io/pixel_art_book/pixel-art(1).html
Love the outcome though
- download (free) video game tiles
- upload them to https://www.pixelartcss.com/ to turn them into CSS
- use this tool (kindly made by thecodingfox a few days ago) to place the tiles on a grid and create the whole image from the CSS returned by pixelartcss : https://www.thecodingfox.com/interactive/pixel-world-editor/
For images I do a different hack, I encode images to base64 and embed them via CSS `background: url('data:image/jpeg;base64,/...')`, or img src. The base64 encoding is not very efficient though, so I wouldn't do this for larger images.
Example: https://merely.xyz (page background has a subtle "concrete" pattern).
https://memalign.github.io/m/pceimage/index.html
One reason I’ve been using “.” as the background in my own PCEImages so far is so it’s easy to see that all the lines are the right width.
(JeffTK's daughter, he comments around here sometimes)
In all seriousness, yeah, I agree. It would be an excellent design if the text were more readable. There's not much contrast between the text color and background image.
to the html element style. Maybe you can suggest she and her sister make a similar change? :)Edit: Hey, @jefftk, here's a before and after of a tiny tweak I did to Lilly's page to increase readability: https://imgur.com/a/AEAc4pk
All I did was add
(She also updated the picture)
Continue this thread — 1 reply
Simple and to the point. I love it.
The pages look exactly how they tell me they should look, for better or worse.
All comments shown.
Couldn't load more comments. Check your connection and try again.