Does someone knows why my javascript code doesn't work in Laravel ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does someone knows why my javascript code doesn't work in Laravel ?

I have a Javascript script at the end of my file .blade.php in the framework Laravel, but it doesn't act on the DOM at all, it doesn't even show something in the console https://code.sololearn.com/wA14a22a22a1/?ref=app

18th Mar 2021, 6:01 PM
Adrien Linares
Adrien Linares - avatar
3 Answers
+ 3
Adrien Linares unfortunately you can look for help only by developers, comunity, documentation or try older revisions of laravel stable parts. Check which javascript code will be accepted.
18th Mar 2021, 9:10 PM
JaScript
JaScript - avatar
+ 2
I use PHP and it‘s working i.e. this code: https://code.sololearn.com/wbbZ17jMORq6/?ref=app
18th Mar 2021, 6:09 PM
JaScript
JaScript - avatar
0
JaScript yeah but using a framework like laravel it doesn't work, it worked a few minutes and then nothing anymore
18th Mar 2021, 6:23 PM
Adrien Linares
Adrien Linares - avatar