for
while
wk10.md
"OIM3690: GitHub settings"
querySelector
addEventListener
function getGrade(score)
getGrade(85)
undefined
if (score >= 60)
else if (score >= 90)
const f = x => x ** 2;
let username = prompt("Enter your name");
if (username)
Create shopping-list.html in your oim3690 repo.
shopping-list.html
oim3690
const items = ['Milk', 'Eggs', 'Bread']
<li>
<ul>
<input>
<button>
Hint: clear the <ul> with ul.innerHTML = '' before re-rendering.
ul.innerHTML = ''
Create score-analyzer.html. Combine arrays, loops, and your S18 skills:
score-analyzer.html
const scores = [88, 72, 95, 63, 81, 56, 90]
toFixed(1)
getGrade()
push()
unshift()
Next: Connecting to the web with fetch and APIs