Coder Social home page Coder Social logo

chadsmith12 / pure-javascript-examples Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 3.0 48 KB

Small examples of ways you can use pure javascript to interact with the dom without the use of jQuery.

JavaScript 48.37% HTML 51.63%
javascript modern-javascript no-jquery

pure-javascript-examples's Introduction

Pure Javascript Examples

This repository contains different examples of using pure javascript to interact with the dom. The goal is to provide different ways that you can interact with th dom without the need of jQuery.

Curent Examples

  • traversing-dom - Provides examples of different ways on how you can move up or down the dom.
  • creating-elements - Provides example of how you can create an element in javascript and append it to the dom.
  • modify-replace-elements - Provides examples of how you Modify, Replace, and Remove elements and attributes in Javascript.
  • event-listeners - Provides examples of the event object in javascript and adding event listeners.
  • mouse-events - Provides examples of the different mouse events in javascript.
  • input-events - Provides examples of the input/keyboard events in javascript.
  • event-bubbling - Provides examples and explains event bubbling and delegating in javascript.
  • local-session-storage - Provides example of using the local storage and session storage api in javascript.
  • constructors-this - Provides example basic constructors and this keyword usage in constructors using ES5.
  • built in constructors - Provides examples of built in constructors for String, Number, Object, Function, and more. Shows difference between object and primitive types.
  • prototypes - Provides examples of Object Prototypes and adding methods to an objects prototype.
  • prototypical-inheritance - Provides examples of inheritance in javascript using prototypes.
  • object-create - Provides examples of ways you can create objects using Object.create.
  • es6-classes - Provides examples of creating objects using classes in ES6.
  • es6-inheritance - Provides examples of inheriting/extending from classes in ES6.
  • xhr-objects-text - Provides example of working with a pure XHR Object in JavaScript (without the fetch API yet) to load in a text file.
  • ajax-json - Provides example of working with JSON data from an XHR Object. Including a single JSON Object, and an array of JSON objects.
  • fetch-api - Provides example of working with the new fetch API instead of an XMLHttpRequest object, and working with promises.
  • regex-evalating functions - Provides example of how you can evaluate regex.
  • regex-metacharacters- Provides different examples of some basic regex metacharacters and rules and what they mean.

pure-javascript-examples's People

Contributors

chadsmith12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.