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
111 changes: 102 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,102 @@
NPM Clone Nifty Penguin Magic npm Enterprise Products Solutions Resources Docs Support Search Join Log In Build amazing
things Essential JavaScript development tools that help you go to market faster and build powerful applications using
modern open source code. See plans Join for free Bring the best of open source to your company npm is the tool used by
over 11,000,000 JavaScript developers around the world. Your developers already use it. Your company depends on it.
Create an Org and get more out of the tools your team already knows and loves. Zero configuration Create an org, add
your team, and start collaborating. Nothing to configure, set up, or manage. Team management Control who has access to
what modules within your team namespace using straightforward team management capabilities. Familiar features npm Orgs
has 100% parity with all the public npm registry features your developers already use. npm audit Enjoy the security
auditing features built into the npm client, a zero-friction way to make open source software safer. Create an Org
<!DOCTYPE html>
<head>
<title>
NPM Clone
</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<div>
<div>
<img class="blackHeart" src="images/black-heart.png" alt="black heart" />
<span> Nifty Penguin Magic </span>
</div>
<nav>
<ul>
<li><a href="#"> npm Enterprise </a></li>
<li><a href="#"> Products </a></li>
<li><a href="#"> Solutions </a></li>
<li><a href="#"> Resources </a></li>
<li><a href="#"> Docs </a></li>
<li><a href="#"> Support </a></li>
</ul>
</nav>
</div>

<div>
<!-- add logo, search bar and buttons (or links and style them as buttons later) -->
<img class ="logo" src="images/npm-logo.png" alt="npm logo"/> <br>
<form action="#" method="#">
<label for ="site-search"><img class="magnifying-glass" src="images/magnifying-glass.png" alt ="magnifying glass"> </label>
<input type="search" id="site-search" name="site-search" placeholder="Search packages"/>
<button>Search</button>
</form>
<div class="form-links">
<a href="#" class="join-link">Join</a>
<a href="#" class="">Log In </a>
</div>
</div>
</header>

<section id="build">
<h1>Build amazing things</h1>
<article>
Essential JavaScript development tools that help you <br/> go to market faster and build powerful applications <br/> using
modern open source code.
</article>
<div class="build-buttons">
<button class="plans-link">
<a href="#" class="plans-link">See plans</a>
</button>
<button class="join-free">
<a href="#">Join for free</a>
</button>

</div>
</section>

<section id="open-source">
<img src="images/triangle-hexagon.svg" alt="triangle-hexagon" class="triangle-hexagon"/>
<h2>Bring the best of open source to your company</h2>
<article class="article-npm">npm is the tool used by
over 11,000,000 JavaScript developers around the world. Your developers <br> already use it. Your company depends on it.
Create an Org and get more out of the tools your <br> team already knows and loves.</article>
</section>

<section class="features">
<div class="container">
<div class="content">
<img src="images/zero-configuration.svg" alt="mouse arrow clicking a square"/>
<h3>Zero configuration</h3>
<p> Create an org, add
your team, <br> and start collaborating.<br> Nothing to configure, set up, or <br> manage.</p>
</div>

<div class="content">
<img src="images/team-management.svg" alt="#"/>
<h3> Team management</h3>
<p> Control who has access to <br>
what modules within your <br> team namespace using <br> straightforward team <br> management capabilities.</p>
</div>

<div class="content">
<img src="images/familiar-features.svg" alt="#"/>
<h3> Familiar features</h3>
<p>npm Orgs
has 100% parity with <br> all the public npm registry <br>features your developers<br> already use.</p>
</div>

<div class="content">
<img src="images/npm-audit.svg" alt="binoculars"/>
<h3>npm audit</h3>
<p> Enjoy the security
auditing <br> features built into the npm <br> client, a zero-friction way to<br> make open source software<br> safer.</p>
</div>
</div>
<button>
<a href="#">Create an Org</a>
</button>

</section>
</body>
198 changes: 198 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
@import url('https://fonts.googleapis.com/css?family=Poppins');

body {
margin: 0;
padding: 0;
font-family: Poppins;
}

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

nav {
width: 600px;
}

nav ul {
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
}

nav a {
text-decoration: none;
color: black;
}

.blackHeart {
width: 20px;
margin-right: 1rem;
}

.logo {
width: 90px;

}

.magnifying-glass {
width: 20px;
padding: 10px;
}

form {
padding: 10px;
display: flex;
flex-direction: row;
align-items: center;
}

div > form > label {
background-color: rgba(0,0,0,.05);
border-color: black;

}

/*affects only the search bar>*/
div > form > input {
background-color: rgba(0,0,0,.05);
padding: 15.5px;
border: none;
width: 1100px;




}

form > button {
background-color: #fb3e44;
color: white;
border: none;
padding: 15px;
}

a {
text-decoration: none;
color: black;
}

.join-link {
padding: 5px;
}

#build {
height: 600px;
background-color: rgba(232,217,217,.3);
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}

h1 {
font-size: 100px;
margin: 10px 0 10px 0;
padding: 10px 0;
}

article {
text-align: center;
margin: 15px 0 35px 0;
}

.plans-link {
font-size: 16px;
background-color: #FB3B49;
border: none;
padding: 10px 20px;
margin: 0 10px;
color: white;
box-shadow: 8px 8px 0 rgba(251,59,73,.2);
/*box-shadow: 8px 8px 0 rgba(251,59,73,.2);*/
}

.join-free {
font-size: 16px;
background-color: white;
border: none;
padding: 10px 20px;
}

.build-buttons {
margin: 30px 0 0 0;
}

#open-source {
height: 450px;
margin: 55px 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.triangle-hexagon {
width: 200px;
margin: 0 0 10px 0;

}
#open-source h2{
background-color: rgba(255,204,53,.4);
transform: skew(9deg,0deg);
font-style: italic;
margin: 35px 0 15px 0;

}


.content {
padding: 10px 35px;
display: flex;
flex-direction: column;
}

.container {
display: flex;
flex-direction: row;
justify-content: center;

}

.features {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.features img {
width: 20px;
}

.features h3 {
color: #ED1C24;
}

.features a {
color: white;
}

.features button {
width: 20%;
background-color: black;
border: none;
box-shadow: 8px 8px 0 rgba(128,83,35,.2);
padding: 10px 30px;
margin: 50px;
font-weight: 700;
font-size: 14px;
}