Ella's First Website
ULTRA PROUD DAD MOMENT: Ella made her first website! Melissa and I woke up on Saturday morning to our goofy 6-year-old daughter entering our bedroom making this obnoxious sound. It was impressively annoying, especially considering she hasn't seen Dumb and Dumber yet. She truly is her father's daughter. After we were done laughing, we recorded her and cracked ourselves up listening to the playback. We joked that it would make for a really effective alarm clock. "We should make one!" I said. Her face lit up. "Yeah, we can make a little website that loops the sound. It'll be funny." I brought my laptop to breakfast and I fired up my trusty, faithful, incredible friend Codepen. I insisted that Ella drive. 
body's background-color. Just look at that reaction as soon as the web page's canvas changed colors: 

background with her goofy face. She truly is her father's daughter. I had to intervene a bit here to open up Codepen's super helpful assets feature to get the image online. But! I taught her how to use the trackpad, as well as copy and paste keyboard commands. It took a second and some fiddling around with the [background-size](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) value, but we got her goofy mug onto the website: From there, we turned our attention to the HTML panel to add the [audio](https://www.w3schools.com/html/html5_audio.asp) tag. That was a little tougher, especially since her patience was wearing thin. But I was able to explain that writing [loop](https://www.w3schools.com/tags/att_audio_loop.asp) would make the sound repeat forever, which she thought was funny. I also explained that autoplay would make it start playing immediately, but I learned autoplay (rightly) blocked by default to prevent, say, an annoying sound to loop for infinity. After a little bit more finessing and me getting the audio asset in there, she had her finished website! So here it is: Ella'sfunny annoying alarm clock website! See the Pen funny annoying alarm clock by Brad Frost (@bradfrost) on CodePen. She had a great initial reaction, and I think hearing her annoying sound come from a totally different machine didn't really compute to her. And while her patience was understandably spent, she enjoyed the results. There is a lot I could say here. That this is a beautiful reminder of the absolute magic that is web design and development. That a beginner's mind can change your perspective. That the declarative and human-readable languages of CSS and HTML help make coding less intimidating. That we could continue to improve the website and add new features. That accessible tools that help people learn web development are incredible. I could go on about all of these things, but I won't. Instead I will say that I am so incredibly proud of Ella. I am lucky to be the dad of such a smart, creative, hilarious, curious, and yes obnoxious girl. I hope this is but one of many many many many many many creations that leave her head and make their way out into the world. I love you so much, Ella. And yes, I woke her up for school today with her alarm clock.
- ← Previous
My ADHD diagnosis process - Next →
Come to Pittsburgh Plays The Cure!