Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the HTML and CSS for the first page #13

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
86 changes: 85 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,87 @@
html {
font-size: 16px;
}
body {
background-color: red;
margin: 0;
padding: 0;
background-image: linear-gradient(to bottom right, #901918, #9732e6);
background-repeat: no-repeat;
}
h1 {
margin: 0;
}
p {
margin: 2em 0;
}
.container .circle img {
padding: 2em;
width: 100%;
}
.container {
display: flex;
justify-content: center;
align-items: center;
margin: 1em;
}
.writing {
color: #fff;
max-width: 600px;
}
.circle {
max-width: 600px;
}

.writing .btn a {
margin: 0;
border: 1px solid #fff;
display: inline-block;
padding: 0.6em 2em;
background: #fff;
color: #000;
text-decoration: none;
border-radius: 5px;
transition: 300ms;
}
.writing .btn a:hover,
.writing .btn a:focus {
padding: 0.7em 2.1em;
box-shadow: 5px 5px;
}
.writing,
.circle {
margin: 3em;
}
.footer {
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
padding: 1em;
font-size: 2rem;
font-weight: bold;
}
@media (max-width: 1150px) {
html {
font-size: 15px;
}
}
@media (max-width: 992px) {
html {
font-size: 14px;
}
}
@media (max-width: 768px) {
html {
font-size: 13px;
}
}
@media (max-width: 576px) {
html {
font-size: 12px;
}
}
@media (max-width: 300px) {
html {
font-size: 11px;
}
}
6 changes: 6 additions & 0 deletions images/Group 5.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
83 changes: 83 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,91 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="css/style.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous"
/>

<!-- Font Awesome -->
<script
src="https://kit.fontawesome.com/85144f180d.js"
crossorigin="anonymous"
></script>

<!-- Bootstrap Scripts -->
<script
src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"
></script>
</head>
<body>
<nav class="navbar navbar-dark">
<i class="fa-sharp fa-solid fa-podcast fa-2x"></i>
<a class="navbar-brand mr-auto" href="">MICROO</a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="">Our Service</a>
</li>
<li class="nav-item">
<a class="nav-link" href="">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="">Our Mic</a>
</li>
<li class="nav-item">
<a class="nav-link" href="">Testimonial</a>
</li>
<li class="nav-item">
<a class="nav-link" href="">Purchase Membership</a>
</li>
</ul>
</div>
</nav>
<div class="container">
<div class="writing">
<h1>The Air Mic</h1>
<p>
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Fugit
perferendis quaerat facilis nostrum, vero molestiae quam accusamus
veniam deserunt excepturi fugiat, sunt saepe minus provident
inventore? Voluptas obcaecati iure vero.
</p>
<div class="btn"><a href="#">Learn More</a></div>
</div>
<div class="circle">
<img src="images/Group 5.svg" alt="circular images" />
</div>
</div>
<div class="footer">Our Service</div>
<script src="js/index.js"></script>
</body>
</html>