Hi KatieNgoc,
Web.config is automatically generated while creating project.
If you still want to add follow the below steps.
1. Right click the Project in the Solution Explorer and click Add and then select New Item....
2. Inside Add New Item dialog select Web Configuration File and select Add.
It's location will be projects root folder.