Made no difference, idk might need to change in here.Go to the main xampp folder and create the .htaccess file and open it and write this:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^localhost$ [NC,OR]
RewriteCond %{REQUEST_URI} !public/
RewriteRule (.*) /public/$1 [L]
See if this attempt was successful