App for providing coding playgrounds within Prework lessons.
Each playground assembles one or more Sandpack components (editor, console, preview, tests) along with initial code files.
- task1: area of rectangle. const, assignment, console.log
- task2: task1 + string interpolation.
- task3: pizza slices per person. integer division, Math.floor.
- task3decorate: Code decoration
- task4: people getting on/off bus. let, reassignment.
- task5: task4 + compound operators +=, -=.
- task6: viral spread. let, const, compound operator *=
- task1: element selection, basic styling. querySelector, getElementById.
- task2: read textContent property.
- task3: assign textContent property.
- task4: fix error in code.
- task5: skills from tasks 1-4
- test1: functions, sandpack test layout
- test12: functions, layout includes console
- test3: dom, sandpack test layout
- test4: dom, layout includes console and preview components