??
JavaScript History API? ????? ?? ??? ????? ? ?? ??? Web API? ?????. ???? ??? ??, ??, ??? ? ?? ???? ??? ????? ???? ?? ???? ?? ???? ??? ?? ???? ???? ??? ??? ?? ? ????.
JavaScript History API? ?? ??
- history.back()
- history.forward()
- history.go(n)
- history.pushState()
- history.replaceState()
History.back() ???
? ??? ????? ?? ??? ?? ???? ?????. ?? ????? ?? ??? ????. ?? ????? ?? ??? ?? ???? ?? ???? ?????.
?:
<!DOCTYPE html> <html> <body> <h1>The Window History Object</h1> <h2>The history.back() Method</h2> <button onclick="history.back()">Go Back</button> </body> </html>
??:
?? ??? ?? ???? ?? ?? "?? ??" ??? ???? ???? ?? ???? ?????.
History.forward() ???
? ??? ????? ??? ??? ??? ?? ??? ?? ???? ????? ?????. ?? ????? ?? ??? ?? ???? ?? ???? ?????.
?:
<!DOCTYPE html> <html> <body> <h1>The Window History Object</h1> <h2>The history.forward Method</h2> <button onclick="history.forward()">Go Forward</button> </body> </html>
??:
?? ??? ?? ???? ?? ?? "??? ??" ??? ???? ?? ???? ?????.
History.go() ???
? ??? ???? ??? ?? ???? ???? ? ?????. ???? ??? ?? ????? ??? ??? ???? ?? 'n'? ?????.
?? 'n'?? ?? ?? ??? ? ????.
- ?? 'n'? ???? ???? ??? ?????.
- ?? 'n'? ???? ???? ?? ?????.
- 'n'? ?? 0?? ?? ???? ?? ?????.
History.pushState() ???
? ??? ?? ?? ?? ??? ? ??? ???? ? ?????. ?, ?? ???? ??? ??? ?? ???? ?????.
?:
?? ??? ???? ?? ???? ???????. ??? ??? pushState() ???? ?????. ?? ???? ?? URL? ?? ? ??? ?????.
// HTML -> <button>Call pushState()</button> // JavaScript -> var button = document.querySelector('button'); button.onClick = function() { history.pushState(null, ' ', 'some-page'); }
??:
?? URL? - https://www.codeguage.com/courses/js/examples/pushstate
???.??? ???? URL? - https://www.codeguage.com/courses/js/examples/some-page
? ?????.?? ?? ??? ? ??? ?????? ???? ?? ???? URL? ?????? ?????. ?? ????? ?? ???? ?? ???? ????? ????. ????
? ?????.
https://www.codeguage.com/courses/js/examples/pushstate
????? ? ?? ??? ? ? ??? pushState()? URL? ??? ????? ??? ???? ?? URL? ????? ????. ?? pushState()? ??? ????? ???? ?? ??? ??? ? ??? ???? ??? ?????.
History.replaceState() ???
? ??? ?? ?? ?? ??? ?? ??? ? ???? ?????.
?:
??? ????? ?? ???? ?? ??? ???? ????. ??? ???? ??? ??? replaceState()? ???? ?? ?? ??? ? ???? ????.
<!DOCTYPE html> <html> <body> <h1>The Window History Object</h1> <h2>The history.back() Method</h2> <button onclick="history.back()">Go Back</button> </body> </html>
??:
?? URL? -
https://www.codeguage.com/courses/js/examples/replacestate
??? ????? URL? -
? ?????.
https://www.codeguage.com/courses/js/examples/some-page
???? URL? ???????. ?? ?? ???? ?? ?? ??? ?? ????? ?? ?? ??? ? ????. ? ??? ??? ?????. ?? ??? ???? ?????. ?? ??? ? ???? ??????.
??? ?? ????! JavaScript History API? ???????? ??? ????? ???? ???? ??? ????? ?????.
Linkedin?? ?? ?????:- Linkedin
? GitHub?? ??? ????? ??? ???. - Github
? ?? ????? ?? :- Aryan? ?????
? ??? ?????? ?? API? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











JavaScript?? ??? ??? ?? ? ? ?? ??? ???????. 1. ?? ??? ??? ???? ?? ??? ????. ISO ?? ???? ???? ???? ???? ?? ????. 2. ?? ??? ?? ???? ??? ?? ???? ??? ? ??? ? ?? 0?? ????? ?? ??????. 3. ?? ?? ???? ???? ???? ?? ?????? ??? ? ????. 4. Luxon? ?? ???? ???? ?????? ???? ?? ????. ??? ?? ???? ????? ???? ??? ????? ?? ? ????.

TAGGSATTHEBOTTOMOFABLOGPOSTORWEBPAGESERVESPRACTICALPURSEO, USEREXPERIENCE, andDESIGN.1.ITHELPSWITHEOBYOWNSESPORENGENSTOESTOCESKESKERKESKERKERKERDER-RELEVANTTAGSWITHOUTHINGTEMAINCONTENT.2.ITIMPROVESEREXPERKEEPINGTOPONTEFOCUSOFOFOFOCUSOFOFOFOCUCUSONTHEATECLL

??? ?? ? ??? DOM?? ??? ??? ? ?????. ??? ?? ????? ?? ??????, ??? ?? ???? ?? ????????. 1. ??? ??? addeventListener? usecapture ?? ??? true? ???? ?????. 2. ??? ??? ?? ???? usecapture? ???? ????? ?????. 3. ??? ??? ??? ??? ???? ? ??? ? ????. 4. ??? ?? ?? ?? ??? ?? ??? ??????? ??? ???? ?????. 5. ??? ?? ?? ?? ??? ?? ???? ?? ???? ? ??? ? ????. ? ? ??? ???? ???? JavaScript? ??? ??? ??? ????? ???? ???? ??? ??????.

JavaScript ?? ????? ??????? ??? ?? ??? ??? ????? ?? ??? ????. ????? ??? ?????. 1. ?? ?? (CodesPlitting) ??, ?? ??? React.lazy ()? ?? ?? ?? ?? ??? ????? ??? ???? ? ?? ????? ??? ?? ??? ???????. 2. ???? ?? ?? (???)? ????, ES6 ?? ????? ???? "Dead Code"? ???? ?? ? ????? ?? ??? ??? ? ???????. 3. ?? ??? ???? ???? GZIP/BROTLI ? TERSER? JS? ???? ??? ????? ???? ?? ???? ??? ? ? ??????. 4. ??? ???? ???? day.js ? fetch? ?? ?? ?????? ??????.

ES ??? CommonJS? ?? ???? ?? ?? ? ?? ???????. 1. Commonjs? ????????? Node.js ?? ? ??? ?????. 2.ES ??? ???????? ????? ?? ???? ??? ?????. 3. ??, ES ??? ?? ??/????? ???? ??? ??? ?????? CommonJS? Quiew/Module.exports? ???? ???? ???? ?? ? ? ????. 4. Commonjs? Express? ?? ???? Node.js ? ?????? ?? ???? ?? ???? ?? ES ??? ?? ??? ?? ??? ?? ? Node.jsv14? ?????. 5. ?? ? ? ??? ?? ??? ??? ? ????.

Node.js?? HTTP ??? ???? ? ?? ???? ??? ????. 1. ?? ????? ????? ??? ??? ? ?? ????? ?? ?? ? https.get () ??? ?? ??? ??? ? ?? ????? ?? ??? ?????. 2.axios? ??? ???? ? ?? ??????. ??? ??? ??? ??? ??? ??? ???/???, ?? JSON ??, ???? ?? ?????. ??? ?? ??? ????? ?? ????. 3. ?? ??? ??? ??? ??? ???? ???? ??? ??? ???? ?????.

???? ?? ?? ??? JavaScript ??? ????? ?? 4 ?? ??????. 1. ???? ??? ?? ?? ??? ???? ?? ??? Count? ?? ??? ?? ???? ?? ??? FetchData ()? ?? ??? ???? ??? ??? ??? ????? ?? PascalScase? ?? ?????. 2. ???? ? ??? ???? ??? ? ??? ??? ??? Formatuser, SaveUser ? RenderUser? ???? ?? ?? ? ??? ?????. 3. Page? userprofile, Userstats ? React? ?? ???? ???? ? ??? ? ?? ???? ????? ??????. 4. ?? ?? ? ???? ??? ??? ? ???? ??? ??? ??????.

JavaScript? ??? ?? ????? ??? ?? ??? ??? ?? ?? ?? ????? ?? ???? ???? ?????. ??? ?? ???? ?? ??? ?? ??? ???? ???? ?? ?? ???? ???? ?????. ?? ??, ??? ? ?? ???? ??? (? : ??? null? ??) ?? ??? ????? ??????. ??? ??? ???? ??? ??? ????. closure?? ?? ??? ?? ??; ? ??? ??? ?? ?? ???? ?? ???? ????. V8 ??? ?? ???, ?? ??, ??/?? ???? ?? ??? ?? ??? ??? ????? ?? ??? ?? ??? ????. ?? ?? ???? ??? ??? ??? ??? ???? ????? ?? ?? ???? ?? ???????.
