project-based-learning icon indicating copy to clipboard operation
project-based-learning copied to clipboard

Typo in project "Build A Simple Web App With Flask"

Open Pawnpusher1245 opened this issue 2 years ago • 3 comments

Expected Behavior

''' from flask import Flask app = Flask(name)

@app.route("/") def index(): return "Index!"

@app.route("/hello") def hello(): return "Hello World!"

@app.route("/members") def members(): return "Members"

@app.route("/members/string:name/") def getMember(name): return name</string:name>

if name == "main": app.run() ''' Should create a simple flask application

Current Behavior

There is a syntax error in the code due to an incorrect closing tag </string:name> inside the route decorator.

Pawnpusher1245 avatar Sep 23 '23 20:09 Pawnpusher1245

Please assign me, I will have alook into this. Thanks

Karamraj avatar Sep 27 '23 06:09 Karamraj

where is whole code by the way

ArSenic04 avatar Oct 22 '23 05:10 ArSenic04