0

$ is not defined

Hello, I have a problem with the "

quot;. It says "$ is not defined". I've already searched for several Q&As and tried a few things. Can you help me? Thanks! Greetings Leon https://code.sololearn.com/Wu7pEqM0A03y/?ref=app

13th Oct 2023, 1:51 PM
Leon Kosmala
3 ответов
+ 6
The $ symbol is used by the jquery library. You should review the basics of HTML and write a proper structure of your document, using correct tags for head, script and body. If you use a correct source for the jquery script, it works. <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"> </script> </head> <body> ... </body> </html>
13th Oct 2023, 3:04 PM
Tibor Santa
Tibor Santa - avatar
+ 3
It's working. Thanks!
13th Oct 2023, 3:07 PM
Leon Kosmala
+ 1
you could use this library in this website: https://cdnjs.cloudflare.com <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg==" crossorigin="anonymous"></script>
13th Oct 2023, 3:58 PM
SoloProg
SoloProg - avatar