What is the Web?
Taking stock
Buckling Up
Before we start
Your First Website
Right here, right now.
🌌
👨🚀
🚀
Tacking stock
Before we start
Back-end:
Front-end:
Back-end:
Front-end:
Back-end: Get food, deliver to table 41, ask for drinks
Front-end: 3 eggs + 1kg flour + 1 pinch salt + 2L milk
"a programming paradigm [...] expresses the logic of a computation without describing its control flow. [...] programs describe their desired results without explicitly listing commands or steps that must be performed."
Wikipedia
Declarative Programming
<body>
<ul>
<li>This is first item</li>
<li>This is second item</li>
<li>This is third item</li>
</ul>
</body>
"a programming paradigm [...] expresses the logic of a computation without describing its control flow. [...] programs describe their desired results without explicitly listing commands or steps that must be performed."
Wikipedia
Declarative Programming
<body>
<ul>
<li>This is first item</li>
<li>This is second item</li>
<li>This is third item</li>
</ul>
</body>
"a programming paradigm [...] expresses the logic of a computation without describing its control flow. [...] programs describe their desired results without explicitly listing commands or steps that must be performed."
Wikipedia
Declarative Programming
<body>
<ul>
<li>This is first item</li>
<li>This is second item</li>
<li>This is third item</li>
</ul>
</body>
"a programming paradigm [...] expresses the logic of a computation without describing its control flow. [...] programs describe their desired results without explicitly listing commands or steps that must be performed."
Wikipedia
Declarative Programming
<body>
<ul>
<li>This is first item</li>
<li>This is second item</li>
<li>This is third item</li>
</ul>
</body>
"a programming paradigm [...] expresses the logic of a computation without describing its control flow. [...] programs describe their desired results without explicitly listing commands or steps that must be performed."
Wikipedia
Declarative Programming
<body>
<ul>
<li>This is first item</li>
<li>This is second item</li>
<li>This is third item</li>
</ul>
</body>
"a programming paradigm [...] expresses the logic of a computation without describing its control flow. [...] programs describe their desired results without explicitly listing commands or steps that must be performed."
Wikipedia
Declarative Programming
<body>
<ul>
<li>This is first item</li>
<li>This is second item</li>
<li>This is third item</li>
</ul>
</body>
Wikipedia
Imperative Programming
const list = document.createElement('ul')
const text = ['first', 'second', 'third']
const items = text.map((value) =>
document.createElement('li')
)
items.forEach((node, index) => {
node.innerText =
`This is the ${text[index]} item`
list.appendChild(node)
})
document.body.appendChild(list)
"...a programming paradigm that uses statements that change a program's state [...] an imperative program consists of commands for the computer to perform. Imperative programming focuses on describing how..."
Wikipedia
Imperative Programming
"...a programming paradigm that uses statements that change a program's state [...] an imperative program consists of commands for the computer to perform. Imperative programming focuses on describing how..."
const list = document.createElement('ul')
const text = ['first', 'second', 'third']
const items = text.map((value) =>
document.createElement('li')
)
items.forEach((node, index) => {
node.innerText =
`This is the ${text[index]} item`
list.appendChild(node)
})
document.body.appendChild(list)
Wikipedia
Imperative Programming
const list = document.createElement('ul')
const text = ['first', 'second', 'third']
const items = text.map((value) =>
document.createElement('li')
)
items.forEach((node, index) => {
node.innerText =
`This is the ${text[index]} item`
list.appendChild(node)
})
document.body.appendChild(list)
"...a programming paradigm that uses statements that change a program's state [...] an imperative program consists of commands for the computer to perform. Imperative programming focuses on describing how..."
Wikipedia
Imperative Programming
const list = document.createElement('ul')
const text = ['first', 'second', 'third']
const items = text.map((value) =>
document.createElement('li')
)
items.forEach((node, index) => {
node.innerText =
`This is the ${text[index]} item`
list.appendChild(node)
})
document.body.appendChild(list)
"...a programming paradigm that uses statements that change a program's state [...] an imperative program consists of commands for the computer to perform. Imperative programming focuses on describing how..."
Wikipedia
Imperative Programming
const list = document.createElement('ul')
const text = ['first', 'second', 'third']
const items = text.map((value) =>
document.createElement('li')
)
items.forEach((node, index) => {
node.innerText =
`This is the ${text[index]} item`
list.appendChild(node)
})
document.body.appendChild(list)
"...a programming paradigm that uses statements that change a program's state [...] an imperative program consists of commands for the computer to perform. Imperative programming focuses on describing how..."
<body>
<ul>
<li>This is first item</li>
<li>This is second item</li>
<li>This is third item</li>
</ul>
</body>
const list = document.createElement('ul')
const text = ['first', 'second', 'third']
const items = text.map((value) =>
document.createElement('li')
)
items.forEach((node, index) => {
node.innerText =
`This is the ${text[index]} item`
list.appendChild(node)
})
document.body.appendChild(list)
Right here, right now