Activity 01
Pair Coding: Framework vs Scratch
Pairs build a basic login form first in plain HTML, CSS, and JavaScript over 10 minutes. Then, they recreate it using a starter framework like Bootstrap or a simple React template in 15 minutes. Pairs tally code lines, note features added, and share time savings with the class.
Explain the advantages of using a web framework over building from scratch.
Facilitation TipDuring Pair Coding, circulate and ask each pair to explain one line of code in plain JavaScript before they use the framework version.
What to look forAsk students to write down one advantage of using a framework over building from scratch and one example of a front-end framework and a back-end framework they learned about today.