CS1999 Buggy Racing tech notes

Technical notes for working on your CS1999 Buggy Editor project

CS1999 Tech notes

Notes to explain how to do (and understand) project tasks.

Especially for phase 0

For task 0-RUN:

Things that are useful from the start

Your buggy editor is a webserver...

Debugging tips:

General set-up:

Adding comments to your code:

  • comments in Python and HTML... and more

Especially for phase 1

Notes for task 1-TEMPLATE: Add a new template to the app:

Notes for task 1-ADD: Add more data to the form:

More general things for once you've got going

Notes to overcome CSS not changing when you hit refresh (may help with 1-STYLE):

Notes for using Flask's flash messages:

How to add images to your Flask app: