How jstmejosh/learningjavascript works
This repository is a JavaScript learning playground: learners explore standalone scripts covering language fundamentals, data structures, functions, and browser interaction. The main user-to-result path is through browser-facing examples that accept prompts or respond to clicks and display results; many other examples log demonstrations to the console. The README also describes forms and HTML/CSS/JavaScript projects, but the sampled sources do not establish how the page, script.js, and individual examples are wired together, so those links are omitted.
Main entry points: conditiional.js Conditions · DOM.js DOM Examples · higherOrderFunction.js Higher-Order Functions · functions.js Functions
Components 17
Language Fundamentals
- Variables
variables.js - Data Types
dataType.js - Operators
operators.js - Numbers
numbers.js - Strings
strings.js - Conditions
conditiional.js
Data and Functions
- Arrays
arrays.js - Objects
objects.js - Loops
loops.js - Functions
functions.js - Higher-Order Functions
higherOrderFunction.js
Browser Interaction
- HTML Page
index.html - DOM Examples
DOM.js - Script Examples
script.js
Other components
- Learner
- Browser
- Console
Connections 20
- Learner → HTML Page: opens
- Learner → Conditions: runs prompts
- Browser → Conditions: provides dialogs
- Conditions → Browser: alerts
- Browser → DOM Examples: provides DOM
- DOM Examples → Browser: updates elements
- DOM Examples → Browser: registers click handler
- Browser → Console: displays logs
- Variables → Console: logs
- Data Types → Console: logs
- Operators → Console: logs
- Numbers → Console: logs
- Strings → Console: logs
- Conditions → Console: logs
- Arrays → Console: logs
- Objects → Console: logs
- Loops → Console: logs
- Functions → Console: logs
- Higher-Order Functions → Console: logs
- Higher-Order Functions → Functions: imports and calls