Usman Khwaja

Front end engineer & Jamstack developer

7 Mar, 2019 ⋅ in Code

Using Hugo htmlUnescape function to solve "selector expected" errors

I have been getting this error in VS Code for using <style> and then not following it up with a valid CSS.

23 Oct, 2018 ⋅ in Code

Lambda function on Netlify as endpoint for Google AMP form

I recently converted this site to be AMP valid. Everything went easy except when it came to setting up the contact form to use amp-form.

28 Aug, 2018 ⋅ in Code

Creating Google Sheets web app for catching Netlify webhooks

Zapier is great. But I wanted to try and use the Netlify’s outgoing webhooks and manually (using the Google Apps Script) record data I receive into Google Sheets.

11 Aug, 2018 ⋅ in Code

Enable term 'jQuery' in Vue CLI 3 scaffolded project

I have been trying for way too long to figure out how to enable the term ‘jQuery’ to be used in my Vue CLI 3 scaffolded project.

5 Aug, 2018 ⋅ in Code

Hugo + Tachyons (src) without gulp or webpack

Tachyons is a pretty epic css toolkit. The first and common way to use it is to link the minified css into your html.

Code on Github.

Built with Hugo and deployed using Netlify