Class 5 Prep
Validating User Input
The bulk of this next section deals with validating input from the user. It is often the case that the user will give you something that doesn't fit your requirements or doesn't make sense in some way. If so, your application should respond by "rejecting" their form, and notifying the user what they did wrong.
Task | Resource Type | Link | Instructions |
---|---|---|---|
Do | Interactive Lesson | Introduction to Validation | They hows and whys of data validation in web applications |
Do | Interactive Lesson | Server-Side Validation | Validating user data submitted in a request |
Do | Interactive Lesson | Using Redirects | Returning redirect status codes in Flask handlers |
Do | Interactive Lesson | HTML Escaping | Prevent malicious code insertion using HTML escaping |
Do | Review | Class 5 Prep Review | Solidify your knowledge of the concepts covered in these lessons |