Code Monkey home page Code Monkey logo

jquery-course's Introduction

jQuery Code Snippets

These code snippets are based on the code developed in my jQuery online course, with thorough documentation to recap each function and how it's used.

The prefixes of the folders indicate which course section they correspond to:

Section 1: Intro

Section 1 is an introduction to jQuery and other JS libraries but contains no code. So there are no folders prefixed "01" in this repo.

Section 2: Animations

Section 2 teaches you how to use predefined and custom animations in jQuery, including fading, sliding, and moving elements.

Section 3: jQuery Selectors

Section 3 is all about selecting the correct elements on the page. This includes using CSS selectors, jQuery functions for traversing the DOM, and filtering a given selection based on some predicates.

Section 4: Manipulating the DOM I

Section 4 demonstrates how to add, remove, and replace DOM elements. After that, it also shows how to manipulate the attributes of any element, such as an image's source.

Section 5: Manipulating the DOM II

Section 5 shows how to add or remove CSS classes to dynamically change the layout of elements or the whole page. It also shows how to attach arbitrary data to any element, and how to manipulate the text or HTML contents of elements.

Section 6: Event Handling

Section 6 teaches you how to use event handlers to handle user events such as clicks, the cursor hovering an element, and key presses. It also discusses basic modularization of event handlers, delegated events, and how to attach the same handler for different event types.

Section 7: Handling Form Events

Section 7 then focuses on events particularly for form elements, such as focusing or unfocusing an input, changing a selection, ticking a checkbox, and eventually submitting the form. Here, you'll learn how to validate forms on the client-side and provide fast feedback to users.

Section 8: AJAX

Section 8 first introduces the basics of AJAX in jQuery and then uses this to access to Flickr API and to build a Pokédex using the PokéAPI.

jquery-course's People

Contributors

petersommerhoff avatar femli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.