Don’t Tell Comedy – Django website

June 2021 - July 2021
Goals
  • Learn Django's template language to loop through and implement front-end features
  • Implement styles from the old website accurately

Project Overview

Coming in, the website was mostly built and functional, it just lacked the front end features and styles. Using their old SquareSpace site as a reference, I implemented custom front-end styles using Bootstrap and good old CSS. My goal was to make a look-alike website, but I did end up making various small improvements and additional features such as a JavaScript image slider.

Process

The process wasn’t like many other projects I’ve done. Normally I build pages from scratch, but the pages here were already there. I had a checklist of items for each page on the site, similar to something I’d see in a card-based system like Trello. I knocked these out one by one and revisited them if there were further changes to make.

Small updates were added to the checklist, so I simply knocked them out as they came up. The project ended up being short since there weren’t many complex features and I can write HTML and CSS quickly.

The website was built with Python/Django, so there was a small learning curve for Django’s templating language. I have experience with several templating languages, so picking up Django’s wasn’t a problem. As far as Django goes, the front end templates were the only things I had to mess with.

Technologies Used

Besides Django, the website was very straightforward. Simple CSS/HTML and vanilla JavaScript was all I needed.

Want to check out some code demos?

Check out code samples written in JavaScript, React, Node, and more

Demo 1
Converting jQuery Blog Post Component To Vanilla JS

I have a simple blog component that is written in jQuery. I would like to convert it to plain JavaScript as part of my effort to completely remove jQuery from my portfolio website. Here’s what the code does in order. init() on .header-info click, call the toggle method. Get the initial textbox height and store […]

Demo 2
Converting jQuery Navbar Code to Vanilla JavaScript

I am on a journey to completely replace jQuery on my portfolio site. The first step is updating the 10 or so JavaScript files that still rely on it. Why not start with one of the easier ones, the navbar? As you can see, the code is pretty straightforward. On init, add event listeners to […]

Demo 3
Defining Reusable Column Extends with SCSS

Quick Note: The atSmall type mixins are just basic media queries. Since these kinds of layouts are common, they also need to be overwritable if I want to change the spacing. Generally, the ‘default’ spacing is defined in the extend/mixins. Example Use Cases To get the layout working, you only need a container class and […]

View all 5 code samples