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
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ Our goal is to get as close as possible to this:
![](https://ilj8ng.bn.files.1drv.com/y4mH5euErvapj_XCRuOonRayqufCkv_jVTeiyGziHKme3FsJz1HvVXRmftBNVCQlxGdw3NCdMZZQOhkjqkMIaFH2DnxWRl6HCu4tPRFKlU7dcryBDyJsywLt9xFTOsO6cBtGBn_igNy4a3mzMdJ6vpDJkDr8qzjoJ2QHC_ECX3Lf8FMNUx8-ov7ClxaFwuDgV9rlPrdrlLEe9rOUMfIAWQWgg?width=1341&height=513&cropmode=none)
![](https://ilklng.bn.files.1drv.com/y4mpbWo-wfTgV2ia_oAQXu3rTLoYK50-lM3OFMKQejV6pIDF5wxrBCc-vvhb6VwsUrcVt13v0Oh3LOug4btJkV3aZ7Vv1ZQilAUn6zIosgdoGK9vg9nOF80DamecqwM6gpn4cE-X3ZYPemBBwqLp4-F2nTmYsrWiH68HImJgREKRwo8ifEfTLZ48Vb5lPkH5R3SE-uHSkCizUZfQolJduAXZg?width=1342&height=552&cropmode=none)


Although it doesn't look too complicated, we will have to apply quite a few styles on our web page: set a background color on different elements, set a font weight (bold, normal), and position elements using our newly acquired skills in flexbox.

We will divide our work into two parts:
Expand Down Expand Up @@ -153,10 +152,10 @@ Refresh the page in Chrome, and if your _style.css_ is linked properly, the page
Before we move forward, add at the very top of your _style.css_ file the following lines:

```css
@import url('https://fonts.googleapis.com/css?family=Poppins');
@import url("https://fonts.googleapis.com/css?family=Poppins");

body {
font-family: 'Poppins';
font-family: "Poppins";
}
```

Expand Down Expand Up @@ -226,7 +225,6 @@ _Useful information_:

- background image is inside the assets folder.


#### CSS 4 | section 2

![](https://jfkcng.bn.files.1drv.com/y4mFB6mDVX6J_QjQVZu7FWI62rOk4AoJ7zLJOpPqORJ8oWzHiBbEYQLmCL8PTFyW-shO5bJVjspXJOkj7BclLx6RzByqbZ56s_poyYCEr1OXVQY_xGoNzxw_y-sxvyC7f0rJowqVvdlTM40J84uzHOrIFl9W2XVfoo_yRffbluOOSOt7IVWDhRvXsUE1ge8ytNEqjQ4zcZBSyZKUJHB3W6ruw?width=1342&height=521&cropmode=none)
Expand All @@ -246,6 +244,7 @@ Again use a lot of flexbox to get the right position of elements - direction, ju
![](https://jfkang.bn.files.1drv.com/y4m86eISxpwtCD7HHun540D_TRoLKCV3MLPxOzBgOvkD2eBGFHDjz24s5QkMnmnDFi3KkN6IjLpxIjzuLFFjNxh3ABVCB0713sJxV8EZ-8i0K1NbmGj5OLGJAoO1yb_THY80ushGtynjdImqQ9yxHTPK60RI8izJ5SYfJtixg2gC2lwAxM9bgSUgLBhFU8r2-v4TapfdfwHkpJYwecRFl8dHA?width=1347&height=326&cropmode=none)

#### CSS 7 | section 5

![](https://jfjqng.bn.files.1drv.com/y4mt88RWimlHj8iihCWedLjY8RyBzO4rn5h9JEYVjdCtXEbRtvbtqKcmk-kAWDhNwClt44zS-l1u9KM4VTrCqLl-EyixGiDrnpaEumYXWlc33goduuHTb8RScZFUrBNR-bqpdNWN8ZeRxLQSzEogXa3cU0Noi95U92ocx7Z8VPshkXSHDN8kA-OZ6uFHBNn8BJOPT2RypfRKo8G05XECNR8FQ?width=1348&height=176&cropmode=none)
![](https://jfjpng.bn.files.1drv.com/y4myLEYi6ScJR_Zj-Sy8kf3D7AyGLDwSr2TajDTJIwXAp3difAZb9eqRmK3R5i6GhDn8G32zmawWd-D3IECCDcynwaN0PdFJCdwkuqkpIXzMXTs12rawBQl6-kiF6U4QVqpFYFVj9KJJKyyJzPR7E_UJiZQisjcGuEn2BoXqvPEWSHgwrarPXH8RwpQec4bevyo9pBEqcmB2d-0rGy_D_O1KA?width=1345&height=662&cropmode=none)

Expand Down
Binary file added assets/githublogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logo2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/npm footer logo.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/searchlogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
151 changes: 149 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,159 @@
<!DOCTYPE html>
<html lang="en">

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

<body>

<div class="npmheader">
<a href="#"><img src="./assets/logo.png" alt="npm logo"></a>
<span>
<a href="#" class="firstanchor">
<strong>npm</strong>
is now a part of
<strong>GitHub</strong>
</a>
</span>
<a href="#"><img src="./assets/githublogo.png" alt="github logo"></a>
</div>

<img src="./assets/background.png" alt="background" height="10px;" width="100%">

<div class="navbar">
<nav>
<ul>
<li><img src="./assets/black-heart.png" width="35px;" height="20px;" alt="heart">
<span>Nonlinear Programming Methods</span> </li>
<li>
<ul>
<li><a href="#" class="nav-link">Products</a></li>
<li><a href="#" class="nav-link">Pricing</a></li>
<li><a href="#" class="nav-link">Documentation</a></li>
<li><a href="#" class="nav-link">Community</a></li>
</ul>
</li>
</ul>
</nav>
</div>

<div class="searchbar">
<a href="#">
<img src="./assets/logo2.jpg" id="npmlogo2" alt="logo2" width="80px;" height="50px;"> </a>
<form action="#">
<img src="./assets/searchlogo.png" id="npmsearchlogo" alt="search logo" width="30px;" height="25px;">
<input type="search" class="search" placeholder="Search packages">
<button name="Search" id="searchbtn">Search</button>
<button name="Search" id="signupbtn">Sign Up</button>
<button name="Search" id="signinbtn">Signin</button>
</form>
</div>

<header class="banner1">
<span class="heading1">Build amazing things</span>
<span class="para1">We're npm, Inc., the company behind Node package manager, the npm Registry, and npm CLI. We
offer those to
the community for free, but our day job is building and selling useful tools for developers like you.</span>
<span class="heading2">Take your JavaScript development up a notch</span>
<span class="para2">Get started today for free, or step up to npm Pro to enjoy a premium JavaScript development
experience, with
features like private packages.</span>
<div>
<button name="SignUp" class="btn1"> Sign Up for free</button>
<button name="pro" class="btn2">Learn about Pro</button>
</div>
</header>

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


<div class="open">
<span class="open1">We ❤ open source</span>
<span class="open2">At npm, Inc., we're proud to dedicate teams of full-time employees to operating the npm
Registry, enhancing
the CLI, improving JavaScript security, and other projects that support and nurture a vibrant open source
community.</span>
</div>


<div class="companies">
<span class="grateful">
<strong>Gratefully serving everyone from solo devs to the Fortune 500</strong>
</span>
<img src="./assets/company.png" alt="companies logos" width="500px;" height="500px;">
</div>


<footer class="footer1">
<img src="./assets/npm footer logo.PNG" class="npmlastlogo" alt="npm logo">

<div>
<span class="headingfoot">Support</span>
<ul>
<a href="#">
<li>Help</li>
</a>
<a href="#">
<li>Community</li>
</a>
<a href="#">
<li>Advisories</li>
</a>
<a href="#">
<li>Status</li>
</a>
<a href="#">
<li>Contact npm</li>
</a>
</ul>
</div>
<div>
<span class="headingfoot">Company</span>
<ul>
<a href="#">
<li>About</li>
</a>
<a href="#">
<li>Blog</li>
</a>
<a href="#">
<li>Press</li>
</a>
</ul>
</div>
<div class="terms">
<span class="headingfoot">Terms and Policies</span>
<ul>
<a href="#">
<li>Policies</li>
</a>
<a href="#">
<li>Terms of Use</li>
</a>
<a href="#">
<li>Code of Conduct</li>
</a>
<a href="#">
<li>Privacy</li>
<li></li>
</a>
</ul>
</div>
</footer>
<img src="./assets/background.png" class="imglast" alt="background" height="10px;" width="100%">

</body>

</html>
Loading