File and folder not showing in HTDOCS folder
Try going into the Terminal and using the following command to unhide the folder:

chflags nohidden PATH_TO_FOLDERNAME

For example:

chflags nohidden /Applications/XAMPP/xamppfiles/htdocs/testfolder