Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
Empty file removed css/style.css
Empty file.
Binary file added images/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/one.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/one.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/three.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/two.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 64 additions & 20 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,65 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>My Blog</title>
<link
href="//fonts.googleapis.com/css?family=Roboto:400,500,300"
rel="stylesheet"
type="text/css"
/>
<link rel="stylesheet" href="css/style.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<!-- Add your HTML here -->
</body>
</html>
<html lang="eng">

<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>Travel Blog</title>
<link rel="stylesheet" href="style.css">
<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=Dancing+Script&family=Italianno&family=Playball&display=swap"
rel="stylesheet">

</head>

<body>
<main>
<header>
<h1>My Travel Blog</h1>
</header>
<img src="./images/background.jpg" alt="beach">
<h2>Travel Posts</h2>
<div class="container">
<div class="d">
<img src="./images/one.jpeg" alt="travel image">
<h3>Traveling Improves Your Health</h3>
<p>From cutting down on stress, to lowering your chances of developing a heart disease, the health benefits of
traveling are huge. You may stay sitting on a chair all day long at the workplace: including some walking to
your trip is sure to make your body feel better. For some people, wandering abroad is even a cure for
depression and anxiety. Of course, it's not a foolproof cure, but it might help you feel better, both
physically and psychologically.</p>
<a href="https://www.claimcompass.eu/blog/benefits-of-travelling/">see more</a>
</div>
<div class="d">
<img src="./images/two.jpeg" alt="travel image">
<h3>Traveling Lets You Disconnect From Your Daily Life</h3>
<p>This is closely related to my previous point. We tend to get so caught up in our daily lives that sometimes,
by simply sticking around, we may do ourselves more harm than good. Your boss is taking over your life? Kids
are driving you mad? Your parents are trying to make you live the life they want? How long do you think you
can handle this pressure before you burst and everything falls apart?</p>
<a href="https://www.claimcompass.eu/blog/benefits-of-travelling/">see more</a>
</div>
<div class="d">
<img src="./images/three.jpeg" alt="travel image">
<h3>Traveling Makes You More Interesting</h3>
<p>I have no doubt that you're quite the conversationalist. That being said, including a few stories from abroad
is likely to grant you even more attention. Mentioning something that most people aren't familiar with or
bring a new perspective is always a good way to shine in a social situation. No need to write a whole travel
essay, just discuss what you've seen and where you've been: people who are accustomed to their daily life will
travel with your words.</p>
<a href="https://www.claimcompass.eu/blog/benefits-of-travelling/">see more</a>
</div>
</div>
<footer>
<p>The best travel blog in the world we offer amazing travel tips, photography, and video content.</p>
<h4>copyright&copy; 2022</4>
</footer>
</main>



</body>

</html>
137 changes: 137 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: sans-serif;
}

main {
width: 100%;
height: 100vh;
}

main img {
width: 100%;
height: 500px;
}

main header h1 {
font-size: 3rem;
font-family: 'Playball', cursive;
font-weight: 900;
text-align: center;
padding: 20px;
border-top: 35px solid #084C8C;
color: #084C8C;
}

main h2 {
font-family: 'Italianno', cursive;
font-size: 3rem;
font-weight: 600;
text-align: center;
padding: 10px;
color: #084C8C;
border-bottom: 1px solid #084C8C;
}

.container img {
width: 300px;
height: 250px;
}

main .container {
width: 80%;
height: auto;
margin: auto;
}

main .container {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding-bottom: 20px;
gap: 5px;




}

main .container .d {

flex: 1;
padding: 10px;
margin: 10px;
border: 1px solid pink;



}

main .container .d h3 {
text-align: center;
padding: 5px;
color: #084C8C;
}

main .container .d p {
text-align: start;
text-align: justify;
padding: 5px;

}

main .container .d a {
background-color: palevioletred;
text-decoration: none;
color: white;
padding: 5px;
display: block;
text-align: center;

border-radius: 5px;



}





footer {
background-color: #084C8C;
color: white;
width: 100%;
height: auto;
padding: 5px;
margin: auto;
}

footer h4 {

text-align: center;
padding: 5px 0px 0px 0px;
font-weight: 400;
}

footer p {
font-weight: 400;
text-align: center;


}

@media screen and (max-width:1000px) {
main .container {
flex-direction: column;
}

main .container .d h3 {
text-align: start;
}


}