-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
153 lines (137 loc) · 6.02 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html lanh="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=divice-width, initial-scale=1">
<meta name="author" content="Discoveryvip.com">
<title>Parallax_COD Cold War</title>
<link rel="shortcut icon" type="image/png" href="assets/favicon.ico">
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
crossorigin="anonymous"
>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header id="header">
<div id="menu">
<div class="navicon">
<i class="fa fa-bars"></i>
</div>
<nav class="nav">
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#portfolio">Portfolio</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</div>
</header>
<div id="wrapper">
<section id="home" class="section">
<h2>Home</h2>
<article>
This is a Project based on a Udemy Course, where I learned
how to use parallax effect and scrolling animation using mainly HTML, CSS, Javascript,
and JQuery. Is a very simple page but is fully responsive with all screen sizes.
</article>
</section>
<section id="about" class="section">
<h2>About</h2>
<p>
Full Stack Developer. MERN (Mongo, Express, React, Node)
enthusiastic. Passionate about learning, and about
developing new skills. Big fan of video game develop
</p>
</section>
<section id="services" class="section">
<h2>Services</h2>
<p>Create WebSites using a simple but Cool design.</p>
<p>I work with Front End and some Back End Development.</p>
<p>The Technologies that I applied here are HTML, CSS, Javascript, and JQuery.</p>
<p>I'm always learning every day new technologies, libraries, and Frameworks..</p>
<p>I can build any website with interactive behavior by request just shoot and make it happen.</p>
</section>
<section id="portfolio" class="section">
<h2>Portfolio</h2>
<article>
<p>
I'm currently looking for new opportunities in Web Development World, my inbox is always open.
Whether you have a question or just want to say hi,
I'll try my best to get back to you ASAP!
</p>
<form>
<div class="row">
<label for="Name">Name:</label>
<input id="Name" name="Name" type="text" placeholder="Name">
</div>
<div class="row">
<label for="Email">Email:</label>
<input id="Email" name="Email" type="email" placeholder="Email">
</div>
<div class="row">
<label for="Message">Message:</label>
<textarea id="Message" name="Message" rows="5" cols="50"></textarea>
</div>
<div class="row">
<button type="submit">Send your Message</button>
</div>
</form>
</article>
</section>
<section id="contact" class="section">
<h2>Contact</h2>
<p>You Can contact me too Clicking over my user name that i use on LinkedIn</p>
<p>My LinkedIn name is: <a href="https://www.linkedin.com/in/vegaluisj/" add target="_blank">VEGALUISJ</a></p>
</section>
<footer class="footer">
<h4>All rights reserved © 2021 |
Designed & Built By Jose Vega |
Design: Udemy Instructor @Laurence Svekis</h4>
</footer>
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(document).ready(function () {
$('.navicon').click(function (){
$('.nav').slideToggle();
});
$(window).bind('resize', function() {
if( $('.navicon').css('display') == "none") {
$('.nav').show();
}
else {
$('.nav').hide();
}
})
$('nav li a').click(function (event) {
event.preventDefault();
var sectionId = $(this).attr('href');
var fromTop = $(sectionId).offset().top;
$('html, body').animate({
scrollTop: fromTop
}, 1000)
if($('.navicon').css('display') == 'block'){
$('.nav').slideUp();
}
})
$(window).scroll(function(){
$('.section').each(function(){
var fromTop = $(this).offset().top;
if (window.scrollY >= (fromTop + 60)) {
$(this).addClass('fixPoint');
} else {
$(this).removeClass('fixPoint');
}
console.log(fromTop)
})
})
})
</script>
</html>