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
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
100 changes: 91 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,91 @@
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>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>NPM Clone</title>
<link rel="stylesheet" href="style.css">
</head>

<body>
<header>
<div class="header-up">
<div class="logo">
<img class="blackHeart" src="C:\Users\black\Documents\Ironhack\lab-html-exercise\images\black-heart.png" alt="black heart" />
<span class="brand">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 class="header-low">
<img class="npmLogo" src="C:\Users\black\Documents\Ironhack\lab-html-exercise\images\npm-logo.png" alt="npm logo" />
<form class="search-form">
<img class="MagLense" src="C:\Users\black\Documents\Ironhack\lab-html-exercise\images\magnifying-glass.png" alt="magnifying glass" />
<input class="topnav" type="text" placeholder="Search packages" >
</form>
<button class="sbut" type="submit">Search</button>
<ul class="login-links">
<li><a href="#">Join</a></li>
<li><a href="#">Log In</a></li>
</ul>
</div>
</header>

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


<section id="section2">
<img class="TriHex" src="C:\Users\black\Documents\Ironhack\lab-html-exercise\images\triangle-hexagon.svg" alt="triangle-hexagon" />
<h1>Bring the best of open source to your company</h1>
<p>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.</p>
</section>

<section id="section3">
<div class="features">
<div class="feature-box">
<img class="zeroCon" src="C:\Users\black\Documents\Ironhack\lab-html-exercise\images\zero-configuration.svg" alt="cursor"/>
<h1>Zero configuration</h1>
<p>Create an org, add your team, and start collaborating. Nothing to configure, set up, or manage.</p>
</div>

<div class="feature-box">
<img class="team" src="C:\Users\black\Documents\Ironhack\lab-html-exercise\images\team-management.svg" alt="network"/>
<h1>Team management</h1>
<p>Team management Control who has access to what modules within your team namespace using straightforward team management capabilities.</p>
</div>

<div class="feature-box">
<img class="famfeat" src="C:\Users\black\Documents\Ironhack\lab-html-exercise\images\familiar-features.svg" alt="features"/>
<h1>Familiar features</h1>
<p>npm Orgs has 100% parity with all the public npm registry features your developers already use.</p>
</div>

<div class="feature-box">
<img class="audit" src="C:\Users\black\Documents\Ironhack\lab-html-exercise\images\npm-audit.svg" alt="audit"/>
<h1>npm audit</h1>
<p>Enjoy the security auditing features built into the npm client, a zero-friction way to make open source software safer.</p>
</div>
</div>

<button class="org">Create an Org</button>
</section>
</main>

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

body, input, button, select, textarea, h1, h2, h3, h4, h5, h6, p, span, a, li {
font-family: 'Poppins', sans-serif;
}

/* HEADER UP */

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;
}

.logo {
display: flex;
align-items: center;
}

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




/* HEADER LOW */

.header-low {
display: flex;
align-items: center;
gap: 15px;
padding: 10px 25px;
border-bottom: 1px solid lightgray;
box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.npmLogo {
height: 25px;
}

.search-form {
display: flex;
align-items: center;
background-color: lightgray;
border-radius: 5px;
padding: 5px 10px;
flex: 1;
height: 35px
}

.search-form .MagLense {
height: 18px;
width: 18px;
margin-right: 8px;
}

.search-form input {
flex: 1;
border: none;
background: transparent;
font-size: 14px;
outline: none;
color: rgba(0,0,0,.8);
padding: 5px 0;
}

.header-low button {
background-color: #fb3e44;
color: white;
border: none;
padding: 0 15px;
margin-right: 30px;
border-radius: 3px;
height: 40px;
cursor: pointer;
}

.login-links {
list-style: none;
display: flex;
gap: 0px;
margin: 0;
padding: 0;
}

.login-links li a {
display: inline-block;
padding: 8px 16px;
text-decoration: none;;
font-size: 14px;
border-radius: 0px;
text-align: center;
cursor: pointer;
transition: all 0.2s ease;
}

.login-links li:first-child a {
border: 1px solid black;
background-color: white;
color: black;
}

.login-links li:last-child a {
border: none;
background-color: white;
color: black;
}


/* SECTION 1 */

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

#section1 h1 {
font-size: 5rem;
margin-bottom: 50px;
font-weight: bolder;
}

#section1 p {
font-size: 1.2rem;
margin-bottom: 60px;
max-width: 530px;
}

#section1 .buttons {
display: flex;
gap: 40px;
}

.plans {
background-color: #fb3b49;
border: none;
color: white;
box-shadow: 8px 8px 0 rgba(251,59,73,.2);
padding: 12px 24px;
font-size: 1rem;
cursor: pointer;
height: 60px;
width: 250px;
font-weight: bold;
}

.join {
background-color: white;
border: none;
color: black;
padding: 12px 24px;
font-size: 1rem;
cursor: pointer;
height: 60px;
width: 250px;
font-weight: bold;
}

/* SECTION 2 */

#section2 {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 600px;
background-color: white;
padding: 40px;
text-align: center;
}

#section2 img {
height: 250px;
margin-right: 1rem;
margin-bottom: 60px;
}

#section2 h1 {
font-size: 2rem;
margin-bottom: 20px;
background-color: rgba(255,204,53,.4);
transform: skew(9deg,0deg);
font-style: italic;
font-weight: bold;
display: inline-block;
padding: 0 40px;
}

#section2 p {
font-size: 0.9rem;
margin-bottom: 30px;
max-width: 700px;
}


/* SECTION 3 */

#section3 {
background-color: white;
padding: 40px 20px;
text-align: center;
}

.features {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 30px;
}

.feature-box {
text-align: left;
flex: 1 1 200px;
max-width: 250px;
padding: 10px;
}

.feature-box img {
height: 50px;
margin-bottom: 10px;
}

.feature-box h1 {
font-size: 1.2rem;
margin-bottom: 20px;
color: #ED1C24;
}

.feature-box p {
font-size: 1rem;
margin-bottom: 30px;
max-width: 600px;
}

#section3 .org {
display: block;
margin: 0 auto;
width: 50%; /* spans under box 2 + 3 */
max-width: 400px;
background-color: black;
color: white;
padding: 12px 20px;
font-size: 1rem;
font-weight: bold;
border: none;
box-shadow: 8px 8px 0 rgba(128,83,35,.2);
cursor: pointer;
}