\n\n\n\n\n
\n\n```\n
\n\nJavaScript Tutorial
\n- \n
- JavaScript Tutorial \n
- JavaScript Introduction \n
- JavaScript Usage \n
- JavaScript VScode \n
- JavaScript Chrome Execution \n
- JavaScript Output \n
- JavaScript Syntax \n
- JavaScript Statements \n
- JavaScript Comments \n
- JavaScript Variables \n
- JavaScript Data Types \n
- JavaScript Objects \n
- JavaScript Functions \n
- JavaScript Scope \n
- JavaScript EventsGeek \n
- JavaScript Strings \n
- JavaScript String Templates \n
- JavaScript Operators \n
- JavaScript Comparisons \n
- JavaScript Conditional Statements \n
- JavaScript switch Statement \n
- JavaScript for Loop \n
- JavaScript while Loop \n
- JavaScript break and continue Statements \n
- JavaScript typeof \n
- JavaScript Type Conversion \n
- JavaScript Regular Expressions \n
- JavaScript Errors \n
- JavaScript Debugging \n
- JavaScript Hoisting \n
- JavaScript Strict Mode \n
- JavaScript Usage Pitfalls \n
- JavaScript Forms \n
- JavaScript Form Validation \n
- JavaScript Validation API \n
- JavaScript Reserved Keywords \n
- JavaScript this \n
- JavaScript let and const \n
- JavaScript JSON \n
- JavaScript void \n
- JavaScript Asynchronous Programming \n
- JavaScript Promise \n
- JavaScript async/await \n
- JavaScript Code Conventions \n
- JavaScript Quiz \n
JS Functions
\n\n\n
\n\nJavaScript Window History
\n\n
\n\nThe window.history object contains the browser's history.
\nWindow History
\nThe window.history object can be written without the window prefix.
\nTo protect user privacy, JavaScript has limited access to this object.
\nSome methods:
\n- \n
- history.back() - same as clicking the back button in the browser \n
- history.forward() - same as clicking the forward button in the browser \n
Window History Back
\nThe history.back() method loads the previous URL in the history list.
\nThis is the same as clicking the back button in the browser.
\nExample:
\n<html>\n<head>\n<script>\nfunction goBack() {\n window.history.back()\n}\n</script>\n</head>\n<body>\n\n<input type="button" value="Back" onclick="goBack()">\n\n</body>\n</html>\n\nWindow History Forward
\nThe history.forward() method loads the next URL in the history list.
\nThis is the same as clicking the forward button in the browser.
\nExample:
\n<html>\n<head>\n<script>\nfunction goForward() {\n window.history.forward()\n}\n</script>\n</head>\n<body>\n\n<input type="button" value="Forward" onclick="goForward()">\n\n</body>\n</html>\n\n\n\n
\n\n\nVue Tutorial
\n\n\nBootstrap
\n- \n
- Bootstrap3 \n
- Bootstrap4 \n
- Bootstrap5 \n
Machine Learning
\n- \n
- Machine Learning \n
- PyTorch \n
- TensorFlow \n
- Sklearn \n
- NLP \n
- AI Agent \n
- Ollama \n
- Coding Plan \n
YouTip