Hello! I am Codemzy and I love to code. JavaScript is my favourite flavour. I blog about coding, software and my projects.
I'm adding a simple way to create a page break in Tiptap. It's not a full paged display, but it allows users to force a page break before a heading or at the end of a chapter.
Written by Codemzy in JavaScript on November 8th, 2024
Here's a JavaScript function I built to create a random 4-digit OTP code with leading zeros. And how I extended it to create shorter and longer codes too!
Written by Codemzy in JavaScript on July 3rd, 2024
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