Hello @jhon_doe2
The method to install Magento 2 on localhost using XAMPP can be complex, especially for someone new in the field.
So here's the article that might be useful in the process as it contains step by step explanation as well as screenshots to guide through!
Check https://meetanshi.com/blog/install-magento-2-on-localhost-using-xampp/
Hope it helps!
---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"