Skip to content

Pure Javascript goodies without using any libraries

License

Notifications You must be signed in to change notification settings

naguibihab/js-goodies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-goodies

Pure Javascript goodies without using any libraries.

Why did I create this?

Since I started working with different javascript frameworks I became more reliant on them and less on javascript to the extent that during a hackathon I realised "Oh Sh*t I don't know how to do an asyncronus http request in javascript" and I had to download JQuery embarrassing moments.

This repo will contain all the "tough" tricks that most people don't realise cane be done in javascript.

Snippets

Using asynchronous calls with pure javascript

Date related javascript functions

Posting data in JSON format

Differences between Arrays and Objects

Transforming standard JS DateTime format to GoLang format

Prerequisites

First run npm install lite-server -g to install lite-server and use it. Then run lite-server while on the root directory to start a server

If you have an issue with lite-server refreshing the browser, make sure that you have a proper html file: it should have the <!DOCTYPE html>, <html>, <body>, <footer> tags

Good JS resources

URL

Go to [https://naguibihab.github.io/js-goodies/] to view this repo as rendered HTML

About

Pure Javascript goodies without using any libraries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published