Unit 4 Lesson 11 Quote Maker app

The way this is setup for students leads to sloppy practices. Given that the app is designed and includes initial values for font family, size, background color, etc students do not need to declare variables. It runs just fine if they don’t. Which makes me wonder why the activity guide insists students list the variables needed. Wouldn’t it be better to give the students a blank app (maybe with the screen design elements created) so that if they don’t declare variables they’ll get errors? Thanks! jr

I am looking at a blank app with the screen design elements created.

The variables with default values are embedded in the design elements. Half my students coded the app without declaring variables, and it ran just fine.

I think I see what you are saying. They use getText and getNumber throughout their code instead of variables. That is a better way to do it. You have taught them well.