Main content
Computer programming
Course: Computer programming > Unit 7
Lesson 8: Further learningWhat to learn after jQuery
Congratulations on learning jQuery! You've now learned the most popular JS library on the web today. Not only will you be able to code your websites with jQuery now, but you'll also have an easier time understanding code from other web developers and using any new JS library.
More jQuery
We certainly didn't cover all of jQuery here - there are more functions, and more options in the functions that we did cover. Check out the documentation for every function that you use, to make sure you know all the ways you can use it.
You can also go through additional tutorials - many of them will probably overlap with what you learned here, but sometimes it helps to hear it from multiple places:
jQuery plugins
jQuery is a great library that does a lot, but it certainly doesn't do everything. Many web developers bring in additional libraries for specific tasks or UI widgets. A lot of those libraries have been built specifically with jQuery in mind, and we call them "jQuery plugins". To use a jQuery plugin, you must first have the jQuery script tag on your HTML page, then a script tag pointing a the plugin's js file. Make sure you load jQuery before the plugin. Then after all of that, call the jQuery plugin's function name from your code. You can see an example here.
To find plugins, you can search the internet for "jQuery plugin [desired-functionality]" like "jQuery plugin datepicker" or search the npm jquery plugin packages. Sometimes you'll find multiple plugins that do what you want -- in that case, you can use these tips for deciding which one to use.
Beyond jQuery
There are many more libraries to learn that will help you build more powerful websites - like libraries for data visualization or libraries for architecting your code.
Read through our list of libraries and start trying out some more!
Want to join the conversation?
- Could someone explain to me in clear terms how to use the built in jQuery ajax function?
http://api.jquery.com/jquery.ajax/(9 votes)- You can refer to this video tutorial
https://www.youtube.com/watch?v=fEYx8dQr_cQ
I hope you find it helpful :)(13 votes)
- yay Im done something for once(11 votes)
- Will Khan Acadamy ever teach Java(5 votes)
- So far Khan Academy only has JavaScript, HTML and SQL. They might add more languages in the future, but I would not hold my breath. Codecademy teaches Java.(4 votes)
- Will khan academy ever have access to php?(5 votes)
- If Khan Academy allowed PHP in webpages in their environment, they would have to do some updating to the environment. They would need to provide extra security to their servers because you now have access to them since you are on their website. I doubt this will happen anytime soon.(5 votes)
- If I create my own library, how can I make it available to everyone? Also, how do I make it a library? Is there any special code that I need to put in?(2 votes)
- At Khan Academy, anything that you write and Save is available to everyone. Alas, Khan Academy provides no mechanism for finding other peoples' work.
A Javascript library is indistinguishable from other Javascript code. The library source is simply included with the rest of the source.
A best practice is to implement a library as a Javascript closure - a single function - that can easily be copied & pasted into a new program. For example, I have a 2D rendering matrix library,RMatrix2D
that I use in many programs, like https://www.khanacademy.org/computer-programming/textured-tetrahedron-faces/4561470304976896(3 votes)
- how can i set the minimum number as 8 and maximum number as 90 in the code below?
<label>
Your age (8-90) ?
<input id="age-num" type="number">
</label>
please reply fast.(1 vote)- You need to use an
if
statement after theinput
.
Example:var age = $('#age-num').val();
if( (age > 8 ) && (age < 90)){
//do stuff
};(3 votes)
- I've been creating a program on "Brackets". I'm stuck and I can't find a video to help me, I was wondering if there was somewhere I could send my program into and get free help on how to make my form process a certain way. If any of you guys know a place like that please share! Thank you in advance!(2 votes)
- You can send your program into GitHub or BitBucket.
And then you can ask for help at StackOverflow.
But don't expect them to go through your entire code. You have to first tell them what function to look at.(2 votes)
- how many JS libraries are there in the world and which are the best ones?(2 votes)
- There are hundreds, if not tens of thousands of libraries out there for you to use. The best libraries to use are the ones that YOU feel are most appropriate for what you are trying to make.
Here's a (relatively short) list of notable JS libraries:
https://en.wikipedia.org/wiki/List_of_JavaScript_libraries(2 votes)
- how do i go to the khan academy community(2 votes)
- I have this code
<input id = "background-selector" type = "color">
but how do I make it pick the background coulor(1 vote)