Resume editor

After writing my resume in Microsoft Word for years, I recently transitioned to generating it from plain HTML and CSS. This works much better for me because I can separate the resume content (my work experience and descriptions) from its layout (the colors and positions of text and number of columns). I added additional features so that I can edit the resume on-the-fly with JavaScript and quickly save a new copy, in case I don’t have access to my main machine and I need to make some small adjustments.

Read on

Unifying code to read local and network files

Many web applications let users either upload a file or enter a URL to download the file from. When uploading files, the HTML file input lets you read the file using the FileReader API in JavaScript. When downloading from the network, the fetch function is used. With a tip from my manager at Google, I learned there’s a way to use the same code for both local and network files with a simple trick.

Read on