看看完成的應用
Draft: this lesson is an outline and will be expanded.
In this course you build a small app that runs in the browser: an expense tracker or a to-do list, your choice. You will not write the code yourself. You tell an AI assistant what you want, run what it makes, and check the result. In this lesson you look at the finished app first, so you know where you are going.
Words you will meet
Page and app. A page shows information and stays the same. An app reacts to you: you type something, press a button, and what you see changes.
State. Everything the app remembers at this moment, such as the list of expenses you entered. When the state changes, the screen changes.
Browser storage. A small space inside your browser where a site can keep data on your own computer. The data does not go to a server. It stays only on this browser, and it disappears if you clear the site data.
What you will do
- Open the finished example that your course provides, and use it for a few minutes. Add three items, remove one, and notice what changes on the screen.
- Reload the page and see whether your items are still there.
- Write down, in your own words, three things the app can do.
- Choose which app you will build: an expense tracker or a to-do list. Pick the one you would actually use.
The AI assistant may choose tools such as React and TypeScript to build it. You do not need to learn them now. Your job is to describe the result and to check it.
Check yourself
- You can say the difference between a page and an app.
- You wrote down three things your app must do.
- You chose which app to build.