Klaudia Rozgonyiova 🔥

👉

4 practices for better code

“Clean code always looks like it was written by someone who cares.” I remember my first job as web developer. It was shortly after I gratuated from bootcamp and I found myself in a role where every developer was on his own and the only reviews I’ve gotten were from designers who checked whether it matched the designs and behaved as expected. That was until I - inevitably - got stuck on one of the projects....

Deploy and host Hugo on Netlify

Hugo is a fantastic static site generator and if you’re looking to move away from Jekyll, Hugo is an excelent choice. I’d say that the initial setup is much easier than Jekyll’s and I’m nicely surprised how quick I was able to put this site together plus Hugo’s blazing fast thanks to the fact it’s built in in Go. I tried Gatsby as well and maybe I chose the wrong theme to start with but both Jekyll and Gatbsy came short when it came to Hugo....

Accessibility Tips and Tricks

In an ideal world it wouldn’t matter, sadly everything has to be paid for. We have to justify development level to stakeholders as it costs money. Blanket accessibility would be nice, the pot isn’t endless. I read this comment and I vow to myself I will not rest until everyone thinks accessibility is easy. Ok, it is not but it’s easier than many believe. Or maybe they already know and they’re just too lazy to do it and look for excuses, I don’t know....

CORS, preflighted requests & OPTIONS method

Working on my side project, I came across a problem familiar to many - CORS. However, it wasn’t the usual message I get when I forget to enable cross-origin on my backend. This one said: Failed to load resource: Preflight response is not successful. Fetch API cannot load <url>. Preflight response is not successful This happened on the very first GET request I made to the server. I was fetching data from an API that was hosted on a different domain from my front-end....

Deploy your app to Heroku

I am not deploying my apps very often (they usually end up almost finished somewhere in my local hell), so every time I find myself with the task to do so, the fairly simple process turns into the research and remembering commands I used in my previous lives. Hence, this guide. I will show the process of deploying an Express app using MongoDB with Heroku step by step. Prerequisites First, to deploy an app, you will need an app....