1/5
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
JavaScript executes inside the browser,
not on the server
JavaScript code executes with
Access to the DOM
Access to browser APIs
Restrictions enforced by the browser security model
Security mindset:
The browser is an attacker-controlled environment
Any JavaScript logic can be inspected, modified, or bypassed
Ideally, the roles for HTML, CSS, and JavaScript should be
HTML: structure and content
CSS: presentation and layout
JS: behavior and interaction
In reality, JavaScript can:
Modify HTML structure
Change CSS styles dynamically
Override intended UI behavior
Key idea: JavaScript
controls how the page behaves, not just how it looks