Project Brief
Today’s task is to create a webpage that contains a survey people can fill in. This can be useful to get feedback from people on a certain topic. You can use any Python web framework. However, the code in the solution section uses Flask to build the webpage.
Expected Output
Here is how the webpage should look more or less:
When the user presses “Submit”, two things should happen. First, the browser should show a “Thank you” page:
Second, the program should add the user’s data in a row inside a CSV file inside the project. Here is what my CSV file will look like: