You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Week1/README.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ For further study of how to make API calls, check out the following resources:
52
52
53
53
## 2. Asynchronous JavaScript and XML (AJAX)
54
54
55
-
AJAX is the idea that data can be loaded into a webpage without refreshing the entire website.
55
+
AJAX is the idea that data can be loaded into a webpage without refreshing the entire website. The term is a
56
56
57
57
### XMLHttpRequests (XHR)
58
58
@@ -69,7 +69,7 @@ In order to keep a better overview, we can choose to **modularize** our applicat
69
69
70
70
However, creating better overview is not the only reason. Among other reasons, modules make a developer's job easy by:
71
71
72
-
- Allowing the them to focus on only one area of the functionality of the software application
72
+
- Allowing them to focus on only one area of the functionality of the software application
73
73
- Isolating individual blocks of code, in case anything breaks
74
74
- Encouraging the developer to write code in a way that makes it reusable
75
75
@@ -79,6 +79,16 @@ For more information about this, go through the following:
79
79
80
80
### What's a library?
81
81
82
+
If you've ever written code you know how easy it is to duplicate it: you just copy and paste it.
83
+
84
+
Modules are small blocks of code that introduce a . If you were to add more code and the code base could really solve a particular problem?
85
+
86
+
A `library` is a set of code that a developer (or several developers) has written in order to solve a specific problem within an application. This could be, for example, how to easier select items from the DOM, how to handle [data validation](https://www.techopedia.com/definition/10283/data-validation) or how to more easily create a [Single Page Application](https://en.wikipedia.org/wiki/Single-page_application).
87
+
88
+
At it's most fundamental level it means that others have written functions and other logical processes to make development quicker and easier. If they have published their code, through [npmjs.com](https://www.npmjs.com/) for example, you can legally make use of it in your own code. Almost all applications out there, no matter what language they're written in, contain at least a couple of libraries.
89
+
82
90
### Using jQuery to make AJAX requests
83
91
84
92
One of the most well-known and often used libraries in JavaScript is called `jQuery`. It's a library that was designed to make DOM manipulation, as well as event handling, CSS animation and AJAX operations much easier to perform.
0 commit comments