Skip to content

Category: Questions

How to pass variable in URL React js

in react js I made a simple date picker and select date from the dropdown calendar and I displayed it in the console. that date stored in a variable, now how to use that variable in URL My questions : How to pass parameter in React js URL how to print parameter in console log code: A date is from

Nav bar Active tab color change

My code is not working I don’t know why? someone, please help me out. I am not able to add a class name to the active nav bar css javaScript Answer 1) You have to use . for class selector as: 2) You have to use add method to add a new class as: JS Also, there is a typo

Unexpected token error in the discord.js bot’s code

So i was making a logger that basically logs all the nick role or username changes etc using discord.js documentation. Someone helped me to get this code but when I tried running it, it gives me an error. The code: I am really new with js so it might be a really stupid error The error: Can someone help me