This Repo required for Asac labs class 2
jQuery is a JavaScript file that you include in your web pages. It lets you find elements using CSS-style selectors and then do something with the elements using jQuery methods.
FIND ELEMENTS USING Css-STYLE SELECTORS by A function called jQuery () lets you find one or more elements in the page.
SIMILARITIES TO DOM:
### WHY USE JQUERY?
jQuery doesn’t do anything you cannot achieve with pure JavaScript. It is just a JavaScript file but estimates show it has been used on over a quarter of the sites on the web, because it makes coding simpler.
jQuery’s motto is “Write less, do more,” because it allows you to achieve the same goals but in fewer lines of code than you would need to write with plain JavaScript.
SIMPLE SELECTORS
COMMON TASKS IN LESS CODE
CROSS-BROWSER COMPATIBILITY
pair programming commonly involves two roles:
Greater efficiency
when two people focus on the same code base, it is easier to catch mistakes
Engaged collaboration
When developers pair program, they rely more on each other and can often find a solution together
Learning from fellow students
working with a teammate can expose developers to techniques they otherwise would not have thought of.
Social skills
Pair programming is great for improving social skills. When working with someone who has a different coding style, communication is key.
Job interview readiness
A common step in many interview processes involves pair programming between a current employee and an applicant, either in person or through a shared screen. They will carry out exercises together
Work environment readiness
Many companies that utilize pair programing expect to train fresh hires from CS-degree programs on how they operate to actually deliver a product.
METHOD | DESCRIPTION | |
---|---|---|
. show () | Displays selected elements | |
. Hides () | Hides selected elements | |
. togg1e () | Toggles between showing and hiding selected elements |
METHOD | DESCRIPTION | |
---|---|---|
. fadeln () | Fades in selected elements making them opaque | |
. fadeout () | Fades out selected elements making them transparent | |
. fadeTo () | Changes opacity of selected elements | |
.fadeTogg1e() | Hides or shows selected elements by changing theiropacity (the opposite of their current state) |
METHOD | DESCRIPTION | | :———————————————————————–: | :———————————————————–: | | . slideUp () | Shows selected elements with a sliding motion| | . slideDown () | Hides selected elements with a sliding motion| | .s1ideToggle() |Hides or shows selected elements with a sliding motion (in the opposite direction to its current state)|
METHOD | DESCRIPTION | |
---|---|---|
. delay () | Delays execution of subsequent items in queue | |
. stop () | Stops an animation if it is currently running | |
.animate() | Creates custom animations |