-
Notifications
You must be signed in to change notification settings - Fork 238
feat: Practice HTML and CSS Basics #215
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
zanetasochon
wants to merge
10
commits into
devmentor-pl:master
Choose a base branch
from
zanetasochon: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
7dcebdd
feat(header): add semantic header elements
d370678
feat(index): Create HTML page structure
31fe9a9
feat(images): Add svg illustrations
1f9c30e
fix: fill missing selectors
b8bd79b
feat(fonts): create folder with fonts
546b111
feat(styles): style HTML structure
6ba1b0c
fix: move css style to styles folder
109737d
feat: link css style in HTML
3f1e1aa
feat: create menu with 3 levels
a14c3e7
feat: Create basic layout
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
|---|---|---|
| @@ -1,12 +1,136 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="pl"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <meta http-equiv="X-UA-Compatible" content="ie=edge" /> | ||
| <title>devmentor.pl - HTML & CSS BASICS - #01</title> | ||
| </head> | ||
| <body> | ||
|
|
||
| </body> | ||
| </html> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <nav> | ||
| <a href="/"> | ||
| <img | ||
| src="./images/topweather.svg" | ||
| alt="Logo Alt Text" | ||
| loading="lazy" | ||
| title="Visit Homepage" /> | ||
| </a> | ||
| <ul> | ||
| <li>O mnie</li> | ||
| <li> | ||
| Portfolio | ||
| <ul> | ||
| <li>Galeria Sztuki</li> | ||
| <li>Wizualizacja Online</li> | ||
| </ul> | ||
| </li> | ||
| <li>Oferta</li> | ||
| <li>Kontakt</li> | ||
| </ul> | ||
| </nav> | ||
| </header> | ||
| <hr /> | ||
|
|
||
| <main> | ||
| <article> | ||
| <h1>Weather forecast for Poland</h1> | ||
| <div> | ||
| <img src="./images/thunderstorm-clouds.svg" alt="Stormy Cloud" /> | ||
| </div> | ||
| <p> | ||
| Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt | ||
| ut labore et dolore magna aliqua. | ||
| </p> | ||
| <p> | ||
| Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt | ||
| ut labore et dolore magna aliqua. | ||
| </p> | ||
| <p> | ||
| <b> | ||
| Posted on | ||
| <time datetime="2025-02-10 09:00">February 10</time> | ||
| by Mateusz | ||
| </b> | ||
| </p> | ||
|
|
||
| <table> | ||
| <caption>List of Articles</caption> | ||
| <thead> | ||
| <tr> | ||
| <th scope="col">Article Name</th> | ||
| <th scope="col">Author</th> | ||
| <th scope="col">Date Published</th> | ||
| <th scope="col">Comments Amount</th> | ||
| </tr> | ||
| </thead> | ||
| <tbody> | ||
| <tr> | ||
| <th scope="row">Weather forecast for Poland</th> | ||
| <td>Mateusz</td> | ||
| <td> | ||
| <time datetime="2025-02-10 09:00">February 10, 2025</time> | ||
| </td> | ||
| <td>3</td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
| </article> | ||
|
|
||
| <h2>Your super stormy comment</h2> | ||
| <form action="./add-comment.php" id="form" method="POST"> | ||
| <fieldset> | ||
| <legend>About the weather</legend> | ||
| <div> | ||
| <label for="name"> | ||
| Name | ||
| <input type="text" name="firstName" id="name" required /> | ||
| </label> | ||
| </div> | ||
| <div> | ||
| <textarea rows="4" cols="50" name="comment" form="form"> | ||
| Enter your comment here...</textarea | ||
| > | ||
| </div> | ||
| <div><input type="submit" value="Comment!" /></div> | ||
| </fieldset> | ||
| </form> | ||
|
|
||
| <section> | ||
| <h2>Comments</h2> | ||
| <div> | ||
| <h3>Mateusz</h3> | ||
| <p> | ||
| Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor | ||
| incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud | ||
| exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
| </p> | ||
| <time datetime="2025-02-10 09:00">February 10, 2025</time> | ||
| <hr /> | ||
|
|
||
| <h3>Zaneta</h3> | ||
| <p> | ||
| Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor | ||
| incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud | ||
| exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
| </p> | ||
| <time datetime="2025-02-10 09:00">February 10, 2025</time> | ||
| <hr /> | ||
|
|
||
| <h3>Jan</h3> | ||
| <p> | ||
| Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor | ||
| incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud | ||
| exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
| </p> | ||
| <time datetime="2025-02-10 09:00">February 10, 2025</time> | ||
| <hr /> | ||
| </div> | ||
| </section> | ||
|
|
||
| <footer> | ||
| <div>© 2025 topweather.com</div> | ||
| </footer> | ||
| </main> | ||
| </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.
👍