-
Notifications
You must be signed in to change notification settings - Fork 238
chore: Practice HTML and CSS Basics tasks #217
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
18
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
18 commits
Select commit
Hold shift + click to select a range
9eedf05
Add HTML structure
Katalia91 16c6118
Fix styling for the accordion menu
Katalia91 228f94c
Add font files
Katalia91 cb01ea1
Style HTML structure according to the requirements
Katalia91 e31f37d
Add css reset styles
Katalia91 17f6a32
Add HTML structure for dropdown menu
Katalia91 cbb5f95
Fix mistake in class name
Katalia91 0fe1b28
Add more font weights
Katalia91 ec357a4
Style the dropdown menu
Katalia91 dbe7705
Add basic website structure
Katalia91 7dcaf9d
Task 1: Add subpages
Katalia91 68f5083
Fix "go back" links
Katalia91 781c717
Add clearfix
Katalia91 0fad348
Change spacing and width for child elements
Katalia91 cbd0fb3
Refactor the code
Katalia91 04577ba
Change HTML tag for comment area
Katalia91 ac32d5b
Improve classes for dropdown and refactor dropdown styling
Katalia91 7a72086
Add styles for mobile
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,12 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>About us</title> | ||
| </head> | ||
| <body> | ||
| <h1>About us</h1> | ||
| <a href="index.html">Go back</a> | ||
| </body> | ||
| </html> | ||
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,12 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>Articles</title> | ||
| </head> | ||
| <body> | ||
| <h1>Articles</h1> | ||
| <a href="index.html">Go back</a> | ||
| </body> | ||
| </html> |
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,12 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>Careers</title> | ||
| </head> | ||
| <body> | ||
| <h1>Careers</h1> | ||
| <a href="index.html">Go back</a> | ||
| </body> | ||
| </html> |
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,12 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>Contact</title> | ||
| </head> | ||
| <body> | ||
| <h1>Contact</h1> | ||
| <a href="index.html">Go back</a> | ||
| </body> | ||
| </html> |
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,125 @@ | ||
| <!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> | ||
| <div> | ||
| <img src="https://picsum.photos/id/1/50/50" alt="" class="logo" /> | ||
| </div> | ||
|
|
||
| <nav> | ||
| <ul> | ||
| <li><a href="articles.html">articles</a></li> | ||
| <li><a href="projects.html">projects</a></li> | ||
| <li> | ||
| <a href="about.html">about us</a> | ||
| <ul> | ||
| <li><a href="contact.html">contact us</a></li> | ||
| <li><a href="careers.html">careers</a></li> | ||
| </ul> | ||
| </li> | ||
| </ul> | ||
| </nav> | ||
| </header> | ||
| <main> | ||
| <article> | ||
| <h1>The Power of Mindful Morning Routines</h1> | ||
| <p> | ||
| Starting your day with intention can set the tone for everything that | ||
| follows. A mindful morning routine doesn’t have to be long or | ||
| complicated. It can be as simple as a few minutes of deep breathing, | ||
| stretching, or journaling. The key is consistency and presence. By | ||
| dedicating a small portion of your morning to mindfulness, you can | ||
| boost your focus, reduce stress, and enhance your overall well-being. | ||
| Try it tomorrow: before diving into your daily tasks, take a moment to | ||
| center yourself. The results may surprise you. | ||
| </p> | ||
| <figure> | ||
| <img | ||
| src="https://picsum.photos/id/215/800/450" | ||
| alt="Picture of a beach" | ||
| /> | ||
| </figure> | ||
| <figcaption>Beach in Brazil</figcaption> | ||
| <table> | ||
| <caption> | ||
| Site's statistics | ||
| </caption> | ||
| <thead> | ||
| <tr> | ||
| <th>Number of editions</th> | ||
| <th>Number of authors</th> | ||
| </tr> | ||
| </thead> | ||
| <tbody> | ||
| <tr> | ||
| <td>3</td> | ||
| <td>2</td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
| <footer class="article__footer"> | ||
| <div class="article__date"> | ||
| Publication date: <time datetime="2025-03-10">10.03.2025</time> | ||
| </div> | ||
| <div class="article__author">Author: John Doe</div> | ||
| </footer> | ||
| </article> | ||
| <section class="comment__area"> | ||
| <form id="comment-form" action="#"> | ||
| <label for="comment-content">Comment this article</label> | ||
| <div class="comment-form__content"> | ||
| <textarea | ||
| name="comment" | ||
| id="comment-content" | ||
| rows="5" | ||
| cols="50" | ||
| ></textarea> | ||
| <input type="submit" value="Comment" /> | ||
| </div> | ||
| </form> | ||
| <h2>Latest comments:</h2> | ||
| <article class="comment__container"> | ||
| <p class="comment__content"> | ||
| Great advice! Starting my day with meditation has definitely | ||
| improved my focus and mood. | ||
| </p> | ||
| <footer> | ||
| <div class="comment__author">Author: John Doe</div> | ||
| <div class="comment__date">03.03.2025</div> | ||
| </footer> | ||
| </article> | ||
| <article class="comment__container"> | ||
| <p class="comment__content"> | ||
| I love this idea! I’ll try adding journaling to my morning routine. | ||
| </p> | ||
| <footer> | ||
| <div class="comment__author">Author: Sylvia Doe</div> | ||
| <div class="comment__date">03.05.2025</div> | ||
| </footer> | ||
| </article> | ||
| <article class="comment__container"> | ||
| <p class="comment__content"> | ||
| Simple but effective. A few deep breaths can really make a | ||
| difference. Thanks for sharing! | ||
| </p> | ||
| <footer> | ||
| <div class="comment__author">Author: Allan Poe</div> | ||
| <div class="comment__date">03.01.2025</div> | ||
| </footer> | ||
| </article> | ||
| </section> | ||
| </main> | ||
| <footer> | ||
| © 2025 NataliaKur. All rights reserved. This content, including text, | ||
| images, and other materials, is protected by copyright. Unauthorized | ||
| reproduction, distribution, or modification is prohibited without the | ||
| express written permission of the copyright owner. | ||
| </footer> | ||
| </body> | ||
| </html> |
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,12 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>Projects</title> | ||
| </head> | ||
| <body> | ||
| <h1>Projects</h1> | ||
| <a href="index.html">Go back</a> | ||
| </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.
👍