if we uninstall xampp then htdocs also delete code example
Example: how to delete xampp
Stop running Apache and MySQL on the computer.
Click on Start > All Programs > Apache Friends > XAMPP Uninstall (if you cannot find it, try to click on Start > All Programs > right-click on XAMPP > Uninstall )