💡 For the best experience, set your browser zoom level to 75%
75% للحصول على أفضل تجربة، اضبط مستوى تكبير المتصفح على 💡
Title: Flask Session App — Store and Reset User Name
Objective:
Build a small Flask web app with a frontend form that allows a user to enter their name. The name should be stored using the Flask session. The user should also be able to reset (clear) their name.
Requirements:
1. A simple HTML form (use render_template) where the user can input their name.
2. Store the name using session['name'].
3. Display the name after submission.
4. Provide a button to reset/clear the session (remove the name).
5. Use routes like /, /submit, and /reset.