CSD 2021/22: Where are classes explained?

Section 2 of the Mini-Project (Web Dev Lesson 7) uses classes. Have they been explained somewhere? Sorry if I missed it.


Good catch! I don’t think so. I think in this example (the RGB Color activity), they just want the students to explore and see how the red shades are being manipulated and see if they can use what they’ve learned about RGB to do the same for Green and Blue.

If they can follow the pattern already set for red, they should in theory be able to do something similar for the other two colors since the classes are already created for them.

I would probably very briefly explain classes to them, but I don’t think they really need to know a lot about classes to be able to do this activity since the code is already there and they just need to modify it.