Pure Javascript goodies without using any libraries.
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.
Using asynchronous calls with pure javascript
Date related javascript functions
Differences between Arrays and Objects
Transforming standard JS DateTime format to GoLang format
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
Go to [https://naguibihab.github.io/js-goodies/] to view this repo as rendered HTML