-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlanding-page.html
117 lines (103 loc) · 2.12 KB
/
landing-page.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
#HTML CODE
****************************************************************************************
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css" />
<title>Aditya Landing Page</title>
</head>
<body>
<header>
<h1>CodSoft Internship</h1>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Features</a></li>
<li><a href="#">Pricing</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>
<section class="hero">
<h2>Welcome to our Awesome Product</h2>
<p>Discover the amazing features that will revolutionize your life!</p>
<a href="#" class="cta-button">Get Started</a>
</section>
<footer>
<p>
© 2023 Your Company. All rights reserved.<br />
Owner- Aditya Konda <br />
Web Development Internship (Level 1:- Task 1)
</p>
</footer>
</body>
</html>
*********************************************************************************
#CSS CODE
/* Reset some default browser styles */
body,
h1,
h2,
p,
ul,
li {
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
}
/* Header styles */
header {
background-color: #333;
color: #fff;
padding: 60px;
display: flex;
justify-content: space-between;
align-items: center;
}
nav ul {
list-style: none;
display: flex;
}
nav li {
margin-right: 20px;
}
nav a {
text-decoration: none;
color: #fff;
}
/* Hero section styles */
.hero {
background-image: url("your-image.jpg");
background-size: cover;
text-align: center;
padding: 140px 0;
color: #fff;
}
.hero h2 {
font-size: 36px;
margin-bottom: 20px;
}
.hero p {
font-size: 18px;
margin-bottom: 30px;
}
.cta-button {
display: inline-block;
padding: 10px 20px;
background-color: #ff6600;
color: #fff;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
}
/* Footer styles */
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px 0;
}