I am using the react app to link a js file into html file by using the element:
But it gives me the error: Uncaught SyntaxError: Unexpected token ‘<’
I can not figure out why this is causing an error. Does anyone know why the element is giving the error? I’d appreciate any help.