(react) could anyone help me implement jquery to react

I have some problems of implementing jquery from a template i downloaded to my Navbar.js, is anyone available to help me through this proccess? rlly want to finish this project but still inexperienced

the jquery are all in the assets/js folder

Hey there,

there are two ways to add external libraries into React:

  • using NPM
  • adding it to the public index.html file of your project
1 Like

i did that but the jquery functions are not working …

So when I load your project into codesandbox, it breaks.

I’d remove all the stuff that doesn’t belong to React and add each additional new feature line by line to see where it breaks.

i decided just to rewrite it using js not jquery for the animations haha

looking forward to seeing it!

1 Like