Skip to content
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
155 changes: 154 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,165 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>

<body>

<header>
<div>
<div>
<img src="./assets/black-heart.png" alt=" heart" style="height:20px;">
<h4>next() packaged middleware</h4>
</div>
<nav>
<ul>
<li><a href="">Product</a></li>
<li><a href="">Pricing</a></li>
<li><a href="">Documentation</a></li>
<li><a href="">Community</a></li>
</ul>
</nav>
</div>
</header>
<div id="section1">
<img src="./assets/logo.png" alt="logo">
<i class="fa fa-search fa-3x" aria-hidden="true"></i>
<input class="logo" type="text" placeholder="Search packages">
<button id="button">Search</button>
<button id="button2">Sign in</button>
<button id="button3">Sign Up</button>
</div>
<section id="section2">
<h1 class="b1">Take your javascript</h1>
<h1 class="b1">development up a notch</h1>
<p class="s">Get started today for free, or step up to npm Pro to enjoy a premium </p>
<p class="s">JavaScript development experience, with features like private packages.</p>
<div style="padding:20px;margin:20px;">
<a href="#"
style="color:white;background:red;padding:10px 30px 10px 30px;text-decoration:none;margin:20px;">Sign up
for free</a>
<a href="#"
style=" color:white;background:rgb(214, 65, 115); padding:10px 30px 10px 30px;text-decoration:none;margin:20px;">learn
about Pro</a>
</div>
</section>

<section id="section3">
<img src=" ./assets/bubble.png " alt="image ">
<h2 class="b1">Bring the best of open</h2>
<h2 class="b1">source to you, your team,</h2>
<h2 class="b1">and your company</h2>
<p class="s">Relied upon by more than 11 million developers worldwide, npm is</p>
<p class="s">committed to making JavaScript development elegant, productive, and </p>
<p class="s">safe. The free npm Registry has become the center of JavaScript code </p>
<p class="s">sharing, and with more than one millionpackages, the largest software registry in the world.
</p>
<p class="s">Our other tools and services take the Registry,</p>
<p class="s">and the work you do around it, to the next level..</p>
</section>


<section id="section4">
<div>
<div>
<img src="./assets/img (1).png " alt="image">
<h5>npm free</h5>
<h6>Lorem ipsum dolor sit amet consectetur adipisicing elit. Tenetur voluptas cum est vitae, unde
quaerat non minus commodi!</h6>
<button>LEARN MORE</button>
</div>
<div style="display:inline;padding:15px">
<img src="./assets/img (2).png " alt="image ">
<img src="./assets/img (5).png " alt="image ">
<h5 style="margin:10px;">npm pro and teams</h5>
<h6 style="margin:10px;">Lorem ipsum dolor sit amet consectetur adipisicing elit. Tenetur voluptas
cum
est vitae, unde quaerat non minus commodi!</h6>
<button>LEARN MORE</button>
</div>
<div>
<img src="./assets/img (3).png " alt="image ">

<h5>npm Enterprise</h5>
<h6>Lorem ipsum dolor sit amet consectetur adipisicing elit. Tenetur voluptas cum est vitae, unde
quaerat non minus commodi!</h6>
<button>LEARN MORE</button>
</div>
<div>
<img src="./assets/img (4).png " alt="image ">
<h5>npm pkgSafe</h5>
<h6>Lorem ipsum dolor sit amet consectetur adipisicing elit. Tenetur voluptas cum est vitae, unde
quaerat non minus commodi!</h6>
<button>LEARN MORE</button>
</div>
</div>
</section>

<section id="section5">
<h1 class="b1" style=padding:10px;>
We ❤ open source
</h1>
<p class="s">At npm, Inc., we're proud to dedicate teams of full-time employees to</p>
<p class="s">operating the npm Registry, enhancing the CLI, improving JavaScript security,</p>
<p class="s">and other projects that support and nurture a vibrant open source community.</p>
</section>


<section id="section6">
<h3 class="b2 ">Gratefully serving everyone</h3>
<h3 class="b2 ">from solo devs to the</h3>
<h3 class="b2 ">fortune 500</h3>
<hr>
<img src="./assets/company.png " alt="image" style="height:350px ">
</section>
<hr>


<footer id="footer">
<div>
<div>
<h4>help</h4>
<h5>
<ul>
<li>Documentation</li>
<li>Community</li>
<li>Case study</li>
<li>Advertises</li>
<li>status</li>
<li>contact</li>
</ul>
</h5>
</div>
<div>
<h4>About</h4>
<h5>
<ul>
<li>Company</li>
<li>Blog</li>
<li>Careers</li>
<li>Webinars</li>
<li>Press</li>
<li>Newsletter</li>
</ul>
</h5>
</div>
<div>
<h4>Terms & Policies</h4>
<h5>
<ul>
<li>Policies</li>
<li>Terms of Use</li>
<li>Code of conduct</li>
<li>privacy</li>
</ul>
</h5>
</div>
</div>
</footer>
</body>

</html>
184 changes: 184 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;400;700;800&display=swap" rel="stylesheet');

body {
font-family: 'Nunito Sans', sans-serif;
font-size: 10px;
background-color: white;
}

* {
margin: 0;
padding: 0;
}

header div div {
display: flex;
}

nav ul {
display: flex;
list-style-type: none;
}

nav a {
text-decoration: none;
color: black;
padding: 12px;
font-weight: bold;
}

header>div {
padding: 0 25px;
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid lightgray;
padding: 10px;
}

.logo {
width: 80%;
height: 35px;
border: none;
background-color: lightgrey;
}

#button {
border: 1 px solid black;
color: white;
background-color: black;
padding: 5px;
cursor: pointer;
}

#button2 {
border: 0.5px solid black;
color: black;
background-color: white;
padding: 5px;
cursor: pointer;
}

#button3 {
border: 0px solid black;
color: black;
background-color: white;
padding: 5px;
cursor: pointer;
}

#section1 {
display: flex;
justify-content: space-between;
margin: 10px;
}

#section2 {
display: flex;
flex-direction: column;
background-image: url("./assets/background2.png");
justify-content: center;
padding: 35px;
color: white;
align-items: center;
margin: 15px;
}

.b1 {
font-size: 45px;
}

.b2 {
font-size: 30px;
}

.s {
font-size: 15px;
}

.break {
margin-left: 10%;
position: absolute;
}

#section3 {
display: flex;
flex-direction: column;
justify-content: center;
padding: 45px;
color: black;
align-items: center;
margin: 15px;
}

#section4 {
display: flex;
flex-direction: column;
justify-content: center;
padding: 25px;
color: black;
align-items: center;
margin: 15px;
}

#section4 div div {
display: flex;
justify-content: space-around;
align-items: center;
background-color: white;
color: black;
height: 200px;
width: 200px;
text-align: center;
flex-direction: column;
border-radius: 10px;
}

#section4 div {
display: flex;
}

#section4 button {
border-radius: 15px;
padding: 5px;
}

#section5 {
display: flex;
flex-direction: column;
justify-content: center;
background-image: url("./assets/background.png");
padding: 45px;
color: white;
align-items: center;
margin: 15px;
}

#section6 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
margin: 20px;
}

#footer div {
display: flex;
justify-content: space-around;
align-items: center;
line-height: 3;
}

#footer div div {
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: column;
padding: 25px;
}

h4 {
font-size: 20px;
font-weight: 800;
}