How does the health code turn yellow and red?

The following will introduce how the health code turns yellow and red.

Equipment: Huawei p40

System: HarmonyOS2.0.0. 127

Software: WeChat 8.0. 15

1. First, open the WeChat APP and click on me in the lower right corner.

2. Click Pay.

3. Find the city service and click Enter.

4. Find the health code and click Enter.

5. Find the travel card and click Enter.

6. Enter your mobile phone number, and then click Query.

7. If you reach the high-risk area within 14 days, the health code will turn red.