• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Why doesn't this work?

I have written my little bit of code here. Tried to convert the JS into jQuery but now its not working and saying that the $ is undefined. https://code.sololearn.com/W3C8gyzPKtWe/?ref=app

javascripthtml5css3jquery
30th Dec 2017, 6:57 PM
Jesse Douglas
Jesse Douglas - avatar
1 Answer
+ 5
You forgot to put this in the <head> part of the html: <script src="https://code.jquery.com/jquery-3.1.1.js"></script>
30th Dec 2017, 7:10 PM
Paul
Paul - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Is this realistic enough?
1 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
Need friends
0 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
I am a beginner, please teach me how to use Python
0 Votes
Web Development
0 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes
Python
1 Votes
Can someone please explain python for me
0 Votes