Parse error: syntax error, unexpected end of file in

hi everybody,
am new here. am coding a project along with a course and am stuck in an error: **Parse error** : syntax error, unexpected end of file i.....

i googled the whole day and tried nearly everything i could find.
here is the code:

>              <html>
>             	<head>
>             		<title>project</title>
>             		<meta charset="UTF-8" />
>              		<link rel="stylesheet" href="assets/css/font/css/font-awesome.css"/>
>             		<link rel="stylesheet" href="../assets/css/style-complete.css"/>
>             	</head>
>             	<!--Helvetica Neue-->
>             <body>
>             <div class="wrapper">
>             <!-- nav wrapper -->
>             <div class="nav-wrapper">
> 
>             	<div class="nav-container">
>             		<div class="nav-second">
>             			<ul>
>             				<li><a href="#"<i class="fa fa-twitter" aria-hidden="true"></i></a></li>
>             			</ul>
>             		</div><!-- nav second ends-->
>             	</div><!-- nav container ends -->
> 
>             </div><!-- nav wrapper end -->
> 
>             <!---Inner wrapper-->
>             <div class="inner-wrapper">
>             	<!-- main container -->
>             	<div class="main-container">
>             		<!-- step wrapper-->
>                 <?php if($_GET['step'] == '1'){?>
>              		<div class="step-wrapper">
>             		    <div class="step-container">
>             				<form method="post">
>             					<h2>Choose a Username</h2>
>             					<h4>you can always change it later.</h4>
>             					<div>
>             						<input type="text" name="username" placeholder="Username"/>
>             					</div>
>             					<div>
>             						<ul>
>             						  <li><?php if(isset($error)){echo $error;} ?>></li>
>             						</ul>
>             					</div>
>             					<div>
>             						<input type="submit" name="next" value="Next"/>
>             					</div>
>             				 </form>
>             			</div>
>             		</div>
>                     <?php }?>
>                     <?php if($_GET['step'] == '2'){?>
>                       <div class='lets-wrapper'>
>             		      <div class='step-letsgo'>
>             			    <h2>here, ScreenName</h2>
> 
>             			     <span>
>             				<a href='../home.php' class='backButton'>Let's go!</a>
>             			</span>
>             		  </div>
>             	    </div>
>                   <?php }?>
> 
> 
>             	</div><!-- main container end -->
> 
>             </div><!-- inner wrapper ends-->
>             </div><!-- ends wrapper -->
> 
>             </body>
>             </html>

any help/suggestion would be very much appreciated. thanks in advance

is solved. 2 curly brackets missing at line 22

Sponsor our Newsletter | Privacy Policy | Terms of Service