4. Download WordPress
Go to wordpress.org and download the latest build of WordPress. Go to the htdocs folder (where you installed the XAMPP), extract the wordpress.zip to a new folder (eg. mywordpress).
5. Run the Famous WordPress 5-minute Installation (install.php)
With your browser, go to http://localhost/mywordpress/wp-admin/install.php or http://localhost:8080/mywordpress/wp-admin/install.php, click Create a Configuration File and click Let’s go! Fill out Database Name (eg., wordpress), User Name (needs to be root), Password, Database Host, and Table Prefix (it is always a best practice to change the default wp_ prefix to something else). Be sure the User Name is the same as your mySQL username, “root”. Then click Run the Install, and follow the instructions to install WordPress. Fill in the Site Title, Username, Password twice, and email. Then click Install, and then Login.