Online · Cau Giay · Hanoi

Artificial Intelligence for Beginners in Cau Giay, Hanoi

Artificial intelligence for beginners in Cau Giay, Hanoi introduces how computers learn from examples—through visual tools, pattern labs and clear talk about responsible AI use.

AI Cau Giay

1. Collecting User Data

Interactive apps need two-way flow: visitors submit data and the server processes it. This lesson covers HTML forms, POST handling in Flask, reading form fields, and checking requests in the browser Network tab.

2. GET vs POST

  • GET — retrieve data (loading a page)
  • POST — send data to the server (form submit, credentials, ML payloads)

3. HTML Form (input.html)

  • action="/submit" — where data is sent
  • method="POST" — how it is sent
  • name="username" — key Flask uses to read the value

4. Flask Backend

from flask import Flask, render_template, request

app = Flask(__name__)

@app.route("/input")
def input_page():
    return render_template("input.html")

@app.route("/submit", methods=["POST"])
def submit():
    name = request.form["username"]
    return f"Hello {name}"

if __name__ == "__main__":
    app.run(debug=True)

5. Test Flow

  1. Run the app and open /input
  2. Type a name (e.g. Ahmad) and click Send
  3. Browser goes to /submit and shows Hello Ahmad

6. Network Tab Check

Inspect → Network → submit the form. The /submit entry should show Method POST, Status 200 OK, and response body Hello Ahmad.

Lesson Q&A

GET retrieves data from the server (e.g. loading /input). POST sends data to the server (e.g. submitting the form to /submit).

action sets the target URL; method="POST" sets the request type; name="username" is the key used on the server as request.form["username"].

Open Inspect → Network, submit the form, then open the /submit request. Confirm Method is POST, Status is 200 OK, and the Response tab shows the greeting text.

What children can learn

WhatsApp +92 322 421 7059

AI and Robotics Club | The 100 Mission AI & Robotics Hero Journey

Recommended self-paced course for parents & educators

ChatGPT for Kids on Udemy.

Disclosure: This page contains affiliate links. We may earn from qualifying purchases at no extra cost to you. Links are intended for parents and educators, not as marketing directed at young children.

Patterns, Not Magic: Age-Appropriate AI for Cau Giay Families

Cau Giay families need AI explained as data and patterns. Students never share personal data with AI tools. Enquire support@aiandroboticsclub.com or WhatsApp +92 322 4217059.

Parent guidance

Ask your child to explain one idea in their own words. Supervise online accounts. We do not invent prices or guaranteed academic outcomes.

Frequently asked questions

Is an artificial intelligence course suitable for students living in the Cau Giay tech district of Hanoi?

Yes! Our AI courses break down machine learning, computer vision, and speech recognition into fun, interactive visual exercises using tools like mBlock and Scratch extension modules.

What practical projects will young learners in Cau Giay create during the course?

Students train custom image recognition models, code gesture-controlled mini-games, build voice-responsive virtual assistants, and discuss responsible AI ethics.

How can parents in Cau Giay check course schedules and claim a free trial pass?

Click the WhatsApp inquiry button on this page to receive our updated weekly schedule and book a free trial session at your convenience.

Explore related learning

District 7Robotics · District 7 HCMC Tay HoArduino · Tay Ho District 1Python · District 1