-
-
Notifications
You must be signed in to change notification settings - Fork 616
london-class-7/ramla-jama #143
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -16,4 +16,169 @@ body { | |||||||||||||||||||||||||||
| * - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex' | ||||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| nav { | ||||||||||||||||||||||||||||
| display: flex; | ||||||||||||||||||||||||||||
| justify-content: space-around; | ||||||||||||||||||||||||||||
| align-items: center; | ||||||||||||||||||||||||||||
| height: 40px; | ||||||||||||||||||||||||||||
| margin: 30px; | ||||||||||||||||||||||||||||
| padding: 0 40px; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
| .logo { | ||||||||||||||||||||||||||||
| width: 40px; | ||||||||||||||||||||||||||||
| height: 30px; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| .menu-burger { | ||||||||||||||||||||||||||||
| visibility: hidden; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| ul { | ||||||||||||||||||||||||||||
| list-style-type: none; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| .nav-wrapper { | ||||||||||||||||||||||||||||
| display: flex; | ||||||||||||||||||||||||||||
| flex-direction :row; | ||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. by default flex direction is flex row
Suggested change
|
||||||||||||||||||||||||||||
| flex-wrap : nowrap; | ||||||||||||||||||||||||||||
| justify-content:flex-end; | ||||||||||||||||||||||||||||
| align-items:flex-start; | ||||||||||||||||||||||||||||
| align-content:space-between; | ||||||||||||||||||||||||||||
|
Comment on lines
+43
to
+46
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Do you need these? What will happen if we don't have them? |
||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| .nav-items { | ||||||||||||||||||||||||||||
| color: gray; | ||||||||||||||||||||||||||||
| font-size: 15px; | ||||||||||||||||||||||||||||
| font-weight: 450; | ||||||||||||||||||||||||||||
| text-decoration: none; | ||||||||||||||||||||||||||||
| margin-right: 25px; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| .nav-items:hover { | ||||||||||||||||||||||||||||
| color: rgb(224, 103, 22); | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| main { | ||||||||||||||||||||||||||||
| margin: 40px 0 30px 0; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| h1, h2 { | ||||||||||||||||||||||||||||
| font-family: 'Roboto', sans-serif; | ||||||||||||||||||||||||||||
| font-weight: 300; | ||||||||||||||||||||||||||||
| margin: 0; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| h2 { | ||||||||||||||||||||||||||||
| text-align: center; | ||||||||||||||||||||||||||||
| padding: 30px 0; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| #info { | ||||||||||||||||||||||||||||
| background: url("../img/first-background.jpg") center; | ||||||||||||||||||||||||||||
| padding: 25px; | ||||||||||||||||||||||||||||
| background-size: cover; | ||||||||||||||||||||||||||||
| background-repeat: no-repeat; | ||||||||||||||||||||||||||||
| background-size: 90% 100%; | ||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||
| color: white; | ||||||||||||||||||||||||||||
| display: flex; | ||||||||||||||||||||||||||||
| flex-direction: column; | ||||||||||||||||||||||||||||
| justify-content: center; | ||||||||||||||||||||||||||||
| align-items: center; | ||||||||||||||||||||||||||||
| height: 50vh; | ||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| button { | ||||||||||||||||||||||||||||
| background: rgb(231, 105, 21); | ||||||||||||||||||||||||||||
| width: 100px; | ||||||||||||||||||||||||||||
| height: 35px; | ||||||||||||||||||||||||||||
| border-radius: 5px; | ||||||||||||||||||||||||||||
| border-style: none; | ||||||||||||||||||||||||||||
| margin-top: 30px; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| #store-wrapper { | ||||||||||||||||||||||||||||
| display: flex; | ||||||||||||||||||||||||||||
| gap: 40px; | ||||||||||||||||||||||||||||
| justify-content: center; | ||||||||||||||||||||||||||||
| flex-wrap: wrap; | ||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we need this?
Suggested change
|
||||||||||||||||||||||||||||
| margin: 20px; | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| div { | ||||||||||||||||||||||||||||
| text-align: center; | ||||||||||||||||||||||||||||
| width: 250px; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| #store-wrapper > div > img { | ||||||||||||||||||||||||||||
| width: 80px; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| #store-wrapper > p { | ||||||||||||||||||||||||||||
| font-size: 12px; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| hr { | ||||||||||||||||||||||||||||
| border-top-style: none; | ||||||||||||||||||||||||||||
| width: 80vw; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| footer { | ||||||||||||||||||||||||||||
| display:flex; | ||||||||||||||||||||||||||||
| height: 100px; | ||||||||||||||||||||||||||||
| text-align: center; | ||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||
| padding: 10px 0 10px 0; | ||||||||||||||||||||||||||||
| flex-direction:column; | ||||||||||||||||||||||||||||
| flex-wrap:nowrap; | ||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||
| justify-content:center; | ||||||||||||||||||||||||||||
| align-items:center; | ||||||||||||||||||||||||||||
| align-content:space-between; | ||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| .footer-text { | ||||||||||||||||||||||||||||
| font-weight: 300; | ||||||||||||||||||||||||||||
| font-size: 15px; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
Comment on lines
+142
to
+145
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Did you have this class name in your HTML :) |
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| .blog-container { | ||||||||||||||||||||||||||||
| display: flex; | ||||||||||||||||||||||||||||
| flex-direction:row; | ||||||||||||||||||||||||||||
| flex-wrap:nowrap; | ||||||||||||||||||||||||||||
| justify-content:center; | ||||||||||||||||||||||||||||
| align-items:center; | ||||||||||||||||||||||||||||
| align-content:space-between; | ||||||||||||||||||||||||||||
| justify-content: center; | ||||||||||||||||||||||||||||
| list-style-type: none; | ||||||||||||||||||||||||||||
|
Comment on lines
+147
to
+155
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| .blog-item { | ||||||||||||||||||||||||||||
| margin: 20px; | ||||||||||||||||||||||||||||
| position: relative; | ||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Do we need this line? |
||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| .copy-write { | ||||||||||||||||||||||||||||
| font-weight: 300; | ||||||||||||||||||||||||||||
| font-size: 10px; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| .blog-item::before { | ||||||||||||||||||||||||||||
| position: absolute; | ||||||||||||||||||||||||||||
| margin: 6px 0 0 -6px; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| @media only screen and (max-width: 600px) { | ||||||||||||||||||||||||||||
| .menu-burger { | ||||||||||||||||||||||||||||
| visibility: visible; | ||||||||||||||||||||||||||||
| display: block; | ||||||||||||||||||||||||||||
| order: 1; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
Comment on lines
+178
to
+179
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| .nav-items { | ||||||||||||||||||||||||||||
| visibility: hidden; | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
|
Comment on lines
+183
to
+184
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -7,15 +7,69 @@ | |||||||||
| <link href='//fonts.googleapis.com/css?family=Roboto:400,500,300' rel='stylesheet' type='text/css'> | ||||||||||
| <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> | ||||||||||
| <link rel="stylesheet" href="css/normalize.css"> | ||||||||||
| <!-- Add a link to your CSS file here (use the line above to guide you) --> | ||||||||||
| <!-- Add a link to your CSS file here (use the line above to guide you) --> | ||||||||||
| <link rel="stylesheet" href="css/style.css"> | ||||||||||
| <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> | ||||||||||
| </head> | ||||||||||
| <body> | ||||||||||
| <header> | ||||||||||
| <nav> | ||||||||||
| <img class="logo" src="img/karma-logo.svg" alt="Karma Logo"> | ||||||||||
| <a class="menu-burger" href="#"><img class="logo" src="img/menu-hamburger.svg" alt="menu Logo"></a> | ||||||||||
| <ul class="nav-wrapper"> | ||||||||||
| <li><a class="nav-items" href="index.html">Meet Karma</a></li> | ||||||||||
| <li><a class="nav-items" href="#info">How it Works</a></li> | ||||||||||
| <li><a class="nav-items" href="#store-wrapper">Store</a></li> | ||||||||||
| <li><a class="nav-items" href="#blog-Wrapper">Blog</a></li> | ||||||||||
| <li><a class="nav-items" href="#">Help</a></li> | ||||||||||
| <li><a class="nav-items" href="#">Login</a></li> | ||||||||||
| </ul> | ||||||||||
|
|
||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| <!-- Add your HTML markup here --> | ||||||||||
| <!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc --> | ||||||||||
| <!-- All the images you need are in the 'img' folder --> | ||||||||||
| </nav> | ||||||||||
|
|
||||||||||
|
|
||||||||||
|
Comment on lines
+29
to
+30
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| </header> | ||||||||||
|
|
||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| <main> | ||||||||||
|
|
||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| <section id="info"> | ||||||||||
| <h1>Introducing Karma</h1> | ||||||||||
| <p>Bring WIFI with you, everywhere you go.</p> | ||||||||||
| <button>Learn More</button> | ||||||||||
| </section> | ||||||||||
|
|
||||||||||
| <br> | ||||||||||
| <br> | ||||||||||
| <br> | ||||||||||
|
|
||||||||||
|
Comment on lines
+40
to
+44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
It is not a good practice to have |
||||||||||
| <h2>Everyone needs a little Karma.</h2> | ||||||||||
| <section id="store-wrapper"> | ||||||||||
| <div> | ||||||||||
| <img src="img/icon-devices.svg" alt="devices icon"> | ||||||||||
| <p >Internet for all devices</p> | ||||||||||
| </div> | ||||||||||
| <div> | ||||||||||
| <img src="img/icon-coffee.svg" alt="cup icon"> | ||||||||||
| <p>Boost your productivity</p> | ||||||||||
| </div> | ||||||||||
| <div> | ||||||||||
| <img src="img/icon-refill.svg" alt="refill icon"> | ||||||||||
| <p>Pay as You Go</p> | ||||||||||
| </div> | ||||||||||
| </section> | ||||||||||
| <hr> | ||||||||||
| </main> | ||||||||||
| <footer> | ||||||||||
| <p class="blog-text">Join us on</p> | ||||||||||
| <section id = "blog-Wrapper"> | ||||||||||
| <ul class="blog-container"> | ||||||||||
| <li><a class="blog-item" href="#"><img src="img/twitter-icon.svg" alt="twiter-icon"></a></li> | ||||||||||
| <li><a class="blog-item" href="#"><img src="img/instagram-icon.svg" alt="instagram-icon"></a></li> | ||||||||||
| <li><a class="blog-item" href="#"><img src="img/facebook-icon.svg" alt="facebook-icon"></a></li> | ||||||||||
| </ul> | ||||||||||
| </section> | ||||||||||
| <p class= "copy-write">© Karma Mobility, Inc.</p> | ||||||||||
| </footer> | ||||||||||
|
|
||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| </body> | ||||||||||
| </html> | ||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.