When learning programming students need to learn a lot of different concepts and constructs which normally goes quite easily with a lot of training and repetition. As a teacher I have experienced that students despite knowing the concepts struggle with integrating them into larger programs. In Web-applications for mobile devices given to first-year web programming students I introduced a new concept of Cozy-Coding to show how experienced programmers solve problems and integrate known concepts into larger applications.