-
-
Notifications
You must be signed in to change notification settings - Fork 616
London10-Afsha-Hossain-HTML/CSS-Week1 #598
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
base: master
Are you sure you want to change the base?
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 |
|---|---|---|
|
|
@@ -10,7 +10,49 @@ | |
| <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> | ||
| </head> | ||
| <body> | ||
|
|
||
| <header> | ||
| <img class="logo" src="./img/karma-logo.svg" alt="brand logo"> | ||
| <nav class="top-navbar"> | ||
| <div class="nav-item" id="nav-item1">Meet Karma</div> | ||
| <div class="nav-item" >How it Works</div> | ||
| <div class="nav-item" >Store</div> | ||
| <div class="nav-item" >Blog</div> | ||
|
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. Hi Afsha i'm doing a code review to complete the homework : What i would suggest is usig ul tag to group the navigation items, add aria-label attributes to the nav and ' a' tags to improve accessibility for screen readers, and used descriptive text for each navigation item. |
||
| <div class="nav-item" >Help</div> | ||
| <div class="nav-item" >Login</div> | ||
| </nav> | ||
| </header> | ||
| <section class="hero"> | ||
| <!-- <img class="hero-img" src="../img/first-background.jpg"> --> | ||
| <h1>Introducing Karma</h1> | ||
| <p class="hero-text">Bring WiFi with you, everywhere you go</p> | ||
| <button class="learn-btn">Learn More</button> | ||
| </section> | ||
| <section class="product-section"> | ||
| <h2>Everyone needs a little Karma.</h2> | ||
| <div class="product-nav"> | ||
| <div class="sevices"> | ||
| <img class="icon" src="./img/icon-devices.svg" alt="icon of desktop screen, tablet and mobile phone"> | ||
| <p class="product-descriptions">Internet for all devices</p> | ||
| </div> | ||
| <div class="sevices"> | ||
| <img class="icon" src="./img/icon-coffee.svg" alt="icon of a cup with steam on top"> | ||
| <p class="product-descriptions">Boost your productivity</p> | ||
| </div> | ||
| <div class="sevices"> | ||
| <img class="icon" src="./img/icon-refill.svg" alt="icon of a mobile device charging"> | ||
| <p class="product-descriptions">Pay as You Go</p> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| <footer> | ||
| <p class="footer-text">Join us on</p> | ||
| <div class="contact-nav"> | ||
| <button class="social-media-btn"><img class="social-media-links" src="./img/twitter-icon.svg"></button> | ||
| <button class="social-media-btn"><img class="social-media-links" src="./img/facebook-icon.svg"></button> | ||
| <button class="social-media-btn"><img class="social-media-links" src="./img/instagram-icon.svg"></button> | ||
| </div> | ||
| <p id="copyright-section">© Karma Mobility, Inc.</p> | ||
| </footer> | ||
| <!-- 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 --> | ||
|
|
||
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.
Hi Afsha, such great job you've done, may i suggest implementing the DRY principle of not repeating code, so you could group all your flex items together.