How do Incremental Projects work?
In an Incremental Project, several problems are linked together, allowing a complex solution to be incrementally built up in stages.
When a you open the second or later problem in the project for the first time, you'll be asked to import your solution to the previous problem:
If you haven't yet solved the previous problem, you'll instead be asked to go back and complete it first:
You can only view or attempt a problem if you've successfully solved the previous problem in the project.
Working on a Project
|If you want to undo all changes to your code you can click the Reset button in the top right hand corner. This will revert your code to what it was when you last imported a previous problem's solution.|
| If you go back and submit a new solution for a previous problem, you can import it into the current problem by clicking the Import button in the top right hand corner. This will bring the newest solution into the editor of the current problem.
Warning: Doing this will overwrite all progress on the current problem, but you can always reload a previous save if you want to undo this.
If an imported file is proving too hard to debug or work with, you can reset a file to overwrite your own attempt with a minimal version of a starting file provided by us. This minimal version contains only the absolutely necessary starting code. To do this:
- Select the file you want to overwrite in the editor.
- Click the small > next to its name.
- Click on the Reset button that appears next to the file name.
- Confirm the reset in the window that appears.
You can always reload a previous save if you want to undo this.
Resetting a file is different to clicking the Reset button in the top right hand corner as described above.
How do I view a problem without completing the previous one?
While completing the course, you can't view a problem without submitting a solution for the previous one.
If you're a teacher and you want to look ahead at a problem your student is doing without doing the previous problems yourself, you can always view that problem by opening a Red View of that student's progress via the Teacher Dashboard. See how to access Red View in: How can I see my students' work?
Once in Red View, you can use the navigation bar to view any problem even if you or your student hasn't completed the previous problems.