Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mdreyadhossain/js_bootcamp

javascript practice
https://github.com/mdreyadhossain/js_bootcamp

Last synced: 24 days ago
JSON representation

javascript practice

Awesome Lists containing this project

README

        

JS BOOTCAMP

Core concept:
-> variable, data type
-> operators
-> function, object
-> array operation

Document Object Model:
-> html element selector(getemelentby.., queryselector)
-> dynamic css
-> event

Other:
-> QR code generator

API:
-> XMLHttpRequest, Fetch, Axios, JQuery
- XMLHttpRequest:
-> event - onload(), onerror()
-> property - response, responseText, responseType, responseURL, status, statusText
-> function - open(), send(), setRequestHeader()

- Fetch:
-> fetch() has replaced XMLHttpRequest
-> fetch() - global method for making HTTP Request
-> 2 ways to call - then, async await
-> fetch() returns a promise and returned promise can only handle network error

- Axios:
-> axios is a js library
-> very easy to use
-> supports all modern browser includig IE
-> returns promise
-> can throw errors

- JQuery:
-> ajax - Asynchronous Javascript And Xml

Web Storage:
-> Allows to store and read data in browser
-> localStorage, sessionStorage, cookie