Skip to content

Category: Questions

Is there any way to detect individual elements rendering in React Component properly? (Not Components rendering)

I know that we can detect Components rendering through React’s Developer Tool, I have also read other ways in this question. but this is not what I need. I’m looking for way to detect individual elements rendering in Component, for example when we have mapped list and we will add one item: before:…

Display QRCode in HTML (google authenticator)

I made a POST request to get a QRCode Here is the data I get from the response. The preview of the response works fine only I don’t know how to use this data to display it in a tag on my html page for example. Any ideas? Answer It finally works as : (in async function)

How can i create a slider text using Javascript

I’m trying to create a simple slider with 3 sections, each section has some texts, first, I started to create animations for the paragraphs of the section-a it works, but what I want is to create a slider(carousel) that is going to display the first section-a then section-b then section-c and we back to…

error code 401, HTTP Token: Access denied

I am new to using API’s. I’ve been trying to use this API called Carbon Interface. it supposed to give an estimate of your carbon footprint based on how much electricity you use. I created this quick project to test it but whenever I try to use it I get error code 401, I look it up and it’s …

Send website visitor IP when accessing website

I am working on a personal project and I was wondering why not use a kind of ip logger that logs the ip of a visitor and sends it to a Discord webhook. The code works, but only locally. I tried hosting the code on Glitch but i was getting this error in the console: grab.js: index.html: Answer This answer