Finally get rid of the cors errors

What is same-origin policy and CORS?

Cross origin resource sharing is a mechanism that allows websites on one URL to request data from another URL. For example, you try to fetch data from an API and the application fails with a cors error in the console. That happens because the browser implements the same-origin policy. This policy allows clients to freely request data from its own URL but blocks anything from a different URL unless certain conditions are met.

When a browser makes request to a server it adds an origin header Origin: https://localhost:3000 to the request. If this request goes to a server with the…


Photo by Antonio Batinić from Pexels

Front-end web development, also known as client-side development is the practice of creating the user interface for Web Applications that users can see and interact with directly. Frontend development is a really good staring point to land your very first job as a Software engineer. This guide will walk you through a series of steps to become a frontend developer from absolute basics.

What exactly Front-end developers do?

Its a misconception that frontend developers just write CSS forever. But there’s much more to it. As a frontend developer, You will most probably be working on one of the following

  • Designing layouts
  • Styling
  • State management
  • Handling…

Harshal Deshpande

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store