Read Building A Basic WordPress Theme by Joseph Dickson (joseph-dickson.com)

Creating a WordPress theme only requires three files. style.css, index.php, functions.php. However since we’ll be needing them later lets include header.php and footer.php.