<DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="background">
<div class="nav">
<a class="a active" href="#">Home</a>
<a class="b" href="#">About ME</a>
<a class="c" href="#">Gallery</a>
<a class="d" href="#">Contact ME</a>
</div>
<div class="content">
<div class="home">
<h1> I am Enrique Rivera</h1>
<h3>Graphic Designer</h3>
</div>
<div class="aboutme">
<p>Hello Friends</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <br>
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur...<br>
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br> Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p><br>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br> Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
<div class="gallery">
<div class="image">
<img src="css/images/Picture1.png">
</div>
<div class="image">
<img src="css/images/Picture2.png">
</div>
<div class="image">
<img src="css/images/Picture3.png">
</div>
<div class="image">
<img src="css/images/Picture4.png">
</div>
<div class="image">
<img src="css/images/Picture5.png">
</div>
<div class="image">
<img src="css/images/Picture6.png">
</div>
<div class="image">
<img src="css/images/Picture7.png">
</div>
</div>
<div class="contactme">
<div class="contctform">
<form action="index.html" method="post">
<input type="text" name="" class="inputtext" value="First Name">
<input type="text" name="" class="inputtext" value="Last Name">
<input type="text" name="" class="inputtext" value="Your Email">
<textarea cols="4" rows="6" class="inputmessage">Your Message...!!!</textarea>
<input type="button" name="" class="submitbutton" value="submit">
</form>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="css/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('a').click(function(){
//alert("i am click");
var selected = $(this);
$('a').removeClass('active');
$(this).addClass('active');
});
});
var $a = $('a'),
$b = $('b'),
$c = $('c'),
$d = $('d'),
$home = $('.home'),
$aboutme = $('aboutme');
$gallery = $('gallery'),
$contactme = $('contactme');
$a.click(function(){
$home.fadeIn();
$aboutme.fadeOut();
$gallery.fadeOut();
$contactme.fadeOut();
});
$b.click(function(){
$aboutme.fadeIn();
$home.fadeOut();
$gallery.fadeOut();
$contactme.fadeOut();
});
$c.click(function(){
$gallery.fadeIn();
$home.fadeOut();
$aboutme.fadeOut();
$contactme.fadeOut();
});
$d.click(function(){
$contactme.fadeIn();
$home.fadeOut();
$gallery.fadeOut();
$aboutme.fadeOut();
});
});
</script>
</body>
</html>