Making WordPress Theme

/*
* Theme Name: W_coders
* Theme URI: http://example.com
* Description: This is an example Theme.
* Version: 1.2.4
* Author: Parth
* Author URI: http://www.example.com
* License: GNU General Public License v3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Copyright (c) 2013 webriti. All rights reserved.
*/

header.php

<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">

<title><?php
        wp_title( '|', true, 'right' ); ?><?php bloginfo('name'); ?></title>

<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
	<?php endif; ?>
	<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>

<div class="nav-menu">
<?php if ( has_nav_menu( 'primary' ) ) : ?>

      <nav id="site-navigation" class="main-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Primary Menu', 'twentysixteen' ); ?>">

		<?php wp_nav_menu( array('theme_location' => 'primary',	'menu_class'     => 'primary-menu' ) );	?>

     </nav><!-- .main-navigation -->
	<?php endif; ?>
</div>

index.php

<?php get_header(); ?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php endwhile; else: ?>
<h1><?php the_title(); ?></h1>
<h4>Posted on <?php the_time('F jS, Y') ?></h4>
<p><?php the_content(__('(more...)')); ?></p>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>

<?php get_sidebar(); ?>
<?php get_footer(); ?>

sidebar.php

<div id="sidebar">
<h2 ><?php _e('Categories'); ?></h2>
<ul >
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
</ul>
<h2 ><?php _e('Archives'); ?></h2>
<ul >
<?php wp_get_archives('type=monthly'); ?>
</ul>
</div>

footer.php

<?php wp_footer(); ?>