-
Notifications
You must be signed in to change notification settings - Fork 102
Task: HTML and CSS basics #179
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
Open
Katalia91
wants to merge
10
commits into
devmentor-pl:master
Choose a base branch
from
Katalia91:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e749ad9
Add HTML structure
Katalia91 380ffdd
Add css reset
Katalia91 3e7bfc7
Start adding styling
Katalia91 c4811df
Refactor the code
Katalia91 fa462a2
Add styling for small screens
Katalia91 5c5ca98
Refactor the code
Katalia91 ef8a271
Remove unnecessary spaces
Katalia91 3556b5f
Improve BEM classes
Katalia91 5a11c07
Adjust styles according to new BEM classes
Katalia91 7d2afba
Add missing classes
Katalia91 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,200 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
| <link | ||
| href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" | ||
| rel="stylesheet" | ||
| /> | ||
| <link rel="stylesheet" href="src/reset.css" /> | ||
| <link rel="stylesheet" href="src/style.css" /> | ||
| <title>Web project</title> | ||
| </head> | ||
| <body> | ||
| <header class="hero"> | ||
| <div class="container container--header"> | ||
| <img class="logo" src="images/logo.svg" alt="" /> | ||
| <nav class="nav"> | ||
| <ul class="nav__list list"> | ||
| <li class="list__item"> | ||
| <a href="#" class="list__link">The Team</a> | ||
| </li> | ||
| <li class="list__item"> | ||
| <a href="#" class="list__link">Pricing</a> | ||
| </li> | ||
| <li class="list__item"> | ||
| <a href="#" class="list__link">Features</a> | ||
| </li> | ||
| </ul> | ||
| </nav> | ||
| </div> | ||
| <div class="container container--hero"> | ||
| <article class="content hero__content"> | ||
| <h1 class="content__title">Beautiful Free Nova Template</h1> | ||
| <p class="content__text"> | ||
| A top notch premium quality template for your next web project. | ||
| </p> | ||
| <button class="button button--secondary">Download FREE!</button> | ||
| </article> | ||
| <figure class="hero__media"> | ||
| <img class="image" src="images/screen.png" alt="" /> | ||
| </figure> | ||
| </div> | ||
| </header> | ||
| <section class="features"> | ||
| <header class="container container--title"> | ||
|
Owner
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. 👍 |
||
| <h2>Features</h2> | ||
| </header> | ||
| <ul class="container container--cards"> | ||
| <li class="card"> | ||
| <figure class="card-image"> | ||
| <img src="images/responsive.svg" alt="" /> | ||
| </figure> | ||
| <div class="card-content"> | ||
| <h3 class="card-content__title title">Fully responsive</h3> | ||
| <p> | ||
| Looks amazing on any device: smartphone, tablet, laptop and | ||
| desktop. | ||
| </p> | ||
| </div> | ||
| </li> | ||
| <li class="card"> | ||
| <figure class="card-image"> | ||
| <img src="images/customizable.svg" alt="" /> | ||
| </figure> | ||
| <div class="card-content"> | ||
| <h3 class="card-content__title title">Customizable</h3> | ||
| <p> | ||
| Change the colors, pictures or any of the sections to suit your | ||
| needs. | ||
| </p> | ||
| </div> | ||
| </li> | ||
| <li class="card"> | ||
Katalia91 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <div class="card-image"><img src="images/design.svg" alt="" /></div> | ||
| <div class="card-content"> | ||
| <h3 class="card-content__title title"> | ||
| Slick and beautiful design | ||
| </h3> | ||
| <p>Trendy and fresh design, fits any website.</p> | ||
| </div> | ||
| </li> | ||
| </ul> | ||
| </section> | ||
| <section class="logos"> | ||
| <div class="container container--logos"> | ||
| <img src="images/logos.png" alt="" /> | ||
| </div> | ||
| </section> | ||
| <section class="media-text"> | ||
| <figure class="media"><img src="images/imac.png" alt="" /></figure> | ||
| <div class="text"> | ||
| <h2 class="text__title">Simple and beautiful</h2> | ||
| <p class="text__content"> | ||
|
Owner
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. 👍 |
||
| Use Nova theme for your next web project. It is completely | ||
| customizable so you can change any of the sections to fit your needs. | ||
| Nova Theme is Free for any kind of use, personal and commercial. Have | ||
| fun and good luck! | ||
| </p> | ||
| </div> | ||
| </section> | ||
| <section class="pricing"> | ||
| <header class="container container--title"> | ||
| <h2 class="pricing__title">Choose your pricing plan</h2> | ||
| <p class="pricing__additional-info"> | ||
| Pick any of our super affordable pricing plans | ||
| </p> | ||
| </header> | ||
| <ul class="container container--cards"> | ||
| <li class="card"> | ||
| <div class="plan-price"> | ||
| <h3 class="plan-price__title title">Basic</h3> | ||
| <div class="price">$15</div> | ||
| <div class="info">per month</div> | ||
| </div> | ||
| <div class="plan-details"> | ||
| <p>Up to 7 projects</p> | ||
| <p>2 additional developers</p> | ||
| </div> | ||
| <button class="button button--primary">Get started</button> | ||
| </li> | ||
| <li class="card card--featured"> | ||
| <div class="plan-price"> | ||
| <h3 class="plan-price__title title">Basic</h3> | ||
|
Owner
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. 👍 |
||
| <div class="price">$15</div> | ||
| <div class="info">per month</div> | ||
| </div> | ||
| <div class="plan-details"> | ||
| <p>Up to 7 projects</p> | ||
| <p>2 additional developers</p> | ||
| </div> | ||
| <button class="button button--primary">Get started</button> | ||
| </li> | ||
| <li class="card"> | ||
| <div class="plan-price"> | ||
| <h3 class="plan-price__title title">Basic</h3> | ||
| <div class="price">$15</div> | ||
| <div class="info">per month</div> | ||
| </div> | ||
| <div class="plan-details"> | ||
| <p>Up to 7 projects</p> | ||
| <p>2 additional developers</p> | ||
| </div> | ||
| <button class="button button--primary">Get started</button> | ||
| </li> | ||
| </ul> | ||
| </section> | ||
| <section> | ||
| <div class="container container--title"> | ||
| <h2>The team</h2> | ||
| </div> | ||
| <ul class="container container--cards team"> | ||
| <li class="card card--team"> | ||
| <img src="images/cto.png" alt="" /> | ||
| <div class="team__details"> | ||
| <span class="team__position">CTO</span> | ||
| <h3 class="team__name title">Johnny B Good</h3> | ||
| <p class="team__info">The brains behind the whole operation</p> | ||
| <div class="social-links"> | ||
| <img src="images/team-twitter.svg" alt="" /> | ||
| <img src="images/team-facebook.svg" alt="" /> | ||
| </div> | ||
| </div> | ||
| </li> | ||
| <li class="card card--team"> | ||
| <img src="images/ceo.png" alt="" /> | ||
| <div class="team__details"> | ||
| <span class="team__position">CEO</span> | ||
| <h3 class="team__name title">Roll Over Beethoven</h3> | ||
| <p class="team__info">The one that puts it all together</p> | ||
| <div class="social-links"> | ||
| <img src="images/team-twitter.svg" alt="" /> | ||
| <img src="images/team-facebook.svg" alt="" /> | ||
| </div> | ||
| </div> | ||
| </li> | ||
| <li class="card card--team"> | ||
| <img src="images/cfo.png" alt="" /> | ||
| <div class="team__details"> | ||
| <span class="team__position">CFO</span> | ||
| <h3 class="team__name title">Chuck Berry</h3> | ||
| <p class="team__info">The guy with his hand on the wallet</p> | ||
| <div class="social-links"> | ||
| <img src="images/team-twitter.svg" alt="" /> | ||
| <img src="images/team-facebook.svg" alt="" /> | ||
| </div> | ||
| </div> | ||
| </li> | ||
| </ul> | ||
| </section> | ||
| <footer> | ||
| <div class="container footer__container"> | ||
| <p>A free template by</p> | ||
| <img src="images/webscope.svg" alt="" /> | ||
| </div> | ||
| </footer> | ||
| </body> | ||
| </html> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
👍