Development Log

As part of the journey of rebuilding my website from scratch, I thought it might be useful to some people if I recorded notes about the process.

Compressing Images

After running WebpageTest on the last post I wrote, I noticed that the images weren't scoring very well. At first, I thought it was because I wasn't doing responsive images right but it turns out that Mac Preview isn't very good at optimizing images. I took the images I created and ran it through TinyJPG and benefited from better compression/optimization.

Responsive Images

Wrote a new post that includes some screenshots and used srcset and sizes for responsive images. It's not working quite as I expected. I'll have to compare with a different post where WordPress had converted the images for me. I'm not sure yet if it's a problem with the images or the code I wrote

More Screen Reader Testing

At the recommendation of a former co-worker, I downloaded the NVDA screen reader for Windows and used it to read my website. It read my website coherently and the previous issue I mentioned about the "b" tag splitting up a word didn't happen. I retried this on VoiceOver and the word "development" was read correctly even with the "b" tag.

I'm not sure why it was reading differently before so I'm going to assume I wasn't testing properly.

Fixing the Viewport Meta Tag

I spent some time playing around with some basic typography styles and happened to be testing them out in Chrome. When I opened up the inspector, I noticed an error in the console with regards to the viewport meta tag.

Apparently, I used device=device-width instead of width=device-width in the tag, which caused an error to show up. Oddly enough, the mobile browsers still rendered the page as I was expecting. The resiliency of HTML is quite remarkable.

Adding the Dev Log

I created this new page on my site to ramble on about the process of building out the site. While doing so, I spent a little time fumbling around with Apple Voiceover to hear what the site would sound like through a screen reader. It was an educational experience. Not only was I able to pick up on a grammar error, it was very useful in identifying issues I wouldn't have thought about.

Issues Identified During Voiceover Test

Updating the Viewport Meta Tag

I made a simple update today to add the viewport meta tag to the pages so that they render better on various devices/screen widths. Without the tag, the site looked really small on mobile devices because they would take the rendered page and scale it down to the screen size of the device.

Visit the MDN page to learn more about the viewport meta tag.

Redirecting my Domain

I didn't do anything code-related today. I updated my DNS records so that my domain now points to the Netlify version of my website.

Getting Started

I finally decided to get started on rebuilding my website as I wrote about in my post: Moving to Netlify and Bare bones HTML.

The first step in the process was building out a set of very basic HTML pages with some of the content from my Wordpress site and a homepage that linked to each of the new pages. In creating the individual HTML pages and folder structure by hand, I can already see how this will be a maintenance nightmare. However, I have committed to starting at a very basic level and I knew that there would be a cost to that.

Uploading to Netlify

Once I got my Netlify account set up and figured out the basic concepts, I dragged my local site folder into the deployment interface and I was up and running.