Mike Siwik13,993 Points
Flask Basics Challenge task 3 of 3
This task is bugged. Correct me if I'm wrong, but I think I entered the right answer multiple different ways. Yet, the challenge keeps giving me indentation errors. Or the vague response "try again!"
from flask import Flask from flask import make_response app = Flask(__name__) @app.route('/save') def save(): response = make_response() response.set_cookie('treehouse', 'ice') return response
Steven TagawaPython Development Techdegree Student 6,005 Points
Yikes--in the post your code is showing up as a giant blob of unindented orange, so I can't see what might be causing an indentation error... I assume that the lines under your function definition are indented? Maybe try unindenting them and reindenting them manually... I'm not up to Flask, but I don't see any obvious syntax errors or anything else weird in your code.