Full-time coder, part-time drummer. Enjoys using and building software on the web, and is a massive fan of JavaScript.
When you use the JavaScript Fetch API, `response.body` might not work like you hoped it would. So if you run into errors like "Cannot read properties of undefined (reading 'body')", this blog post will help you fix it!
Written by Codemzy in JavaScript on April 11th, 2024
You can access response headers in axios from the response per request, or by adding an interceptor to all requests. If the headers are missing or undefined, you might need to fix your CORS settings.
Written by Codemzy in JavaScript on January 31st, 2024
Drag and drop can be a little tricky to implement. Here are some common problems you might run into and how to fix them to get your drag-and-drop working like a charm.
Written by Codemzy in JavaScript on October 25th, 2023