

ALT tutorials • are learning-oriented • allow the newcomer to get started • are lessons Analogy: teaching someone how to cook How-to guides • are goal-oriented • show how to solve a specific problem • are a series of steps Analogy: a recipe in a cookery book Explanation: • is understanding-oriented • explains • provides background and context Analogy: an article on culinary history Reference: • is information-oriented • describes the machinery • is accurate and complete Analogy: a reference encyclopaedia article
Algorithms and data structures implemented in JavaScript

ALT Demo: Is cross-origin fetch allowed? From https:/web.stanford.edu/class/cs253/: const res = await fetch('https://axess.stanford.edu') const data = await res.body.text() console.log(data) No! Would be a huge violation of Same Origin Policy. Any site in the world could read your grades if you're logged into Axess in another tab!















