Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.
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
103 changes: 103 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,106 @@
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/
/* =================
WRITE YOUR CSS HERE.
Check the ⌄ for help with formatting and validating your code.
You must write some CSS to complete this challenge.
===================
*/



@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200&family=Unbounded:wght@200&display=swap');


.aside {
width: 40%;
padding-left: 30px;
margin-left: 30px;
margin-bottom: 1rem;
float:right;
box-shadow: inset 5px 0 5px -5px #29627e;
font-style: italic;
color: #0c2938;
background-color: #92AFD7;
border: 2px solid white;


}

.title {
text-align: center;
font-family: 'Montserrat', sans-serif;
font-family: 'Unbounded', cursive;;
}

.image {
display: block;
border: 2px solid white;
margin: 0 auto;
margin-bottom: 1rem;
}
.navbar {
background-color: #92AFD7;
text-align:center;
padding: 1rem;

}

nav a {
color: black;
margin-left: 20px;
font-size: 1.4em;
text-decoration: none;
}

nav a:hover {
text-decoration: underline;
}

.iframe {
display:block;
margin: 0 auto;
border: 2px solid white;

}
body {
background-color: #C5D1EB;
}
.footer {
background-color: #5A7684;
color: white;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
text-align: center;
}

p {
font-family: 'Raleway', sans-serif;
margin-left: 60px;
margin-right: 60px;
color: black;
font-size: large;
line-height: 2em;

}

h1 {
font-size: 3em;
}

h2 {
text-align: center;
font-size: 2em;
font-family: 'Montserrat', sans-serif;
font-family: 'Unbounded', cursive;
}

h3 {
font-family: 'Montserrat', sans-serif;
font-family: 'Unbounded', cursive;
}

.pfooter {
color: white;
}
Binary file added images/image1.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/image2.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/image3.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/image4.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/image5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
123 changes: 110 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,119 @@
<!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" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<title class="title">
Scientific Achievements of the century
</title>

<link rel="stylesheet" href="css/style.css"/>

</head>

<body>
<header class="header">
<div>
<nav class="navbar">
<a href="#">Electric Cars</a>
<a href="#">Who Makes them</a>
<a href="#">Address</a>
</nav>
</div>
<h1 class="title">
Challenges of the Electric car
</h1>
</header>
<div class="images">
<img class="image" src="images/image5.jpg" alt="Image of a river" width="500" height="300">

<iframe class="iframe" width="500" height="300" src="https://www.youtube.com/embed/CkoquiSnqbk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

</div>
<h2>The future is behind us</h2>
<article class="article">
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p> </article>
<article class="article">
<p>
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
</p>
</article>

<img class="image" src="images/image1.jpg" alt="Random landscape image" width="500" height="300">

<img class="image" src="images/image2.jpg" alt="Random image" width="500" height="300">

<img class="image" src="images/image3.jpg" alt="Random image of river" width="500" height="300">
<br>
<br>
<aside class="aside">
<h3 class="heads"> People resist change:</h3>

<div class="values">
<nav aria-label="Main Site Links.">
<ul>
<li> <a href="#">The future</a> </li>
<li> <a href="#">Anti corruption</a> </li>
<li> <a href="#">Hardwork</a> </li>
<li> <a href="#">Self reliance</a> </li>
<li> <a href="#">Equity</a> </li>
<li> <a href="#">Fair trade</a> </li>
</ul>
</nav>
</div>
</aside>

<section class="section">
<h2 class="heads">Who took the cookies?</h2>
<p>
Issues for Climate Change there are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.
</p>
<p>
At the time of its independence, Zambia's modernisation process was far from complete. The nation's educational system was one of the most poorly developed in all of Britain's former colonies, and it had just a hundred university graduates and no more than 6,000 indigenous inhabitants with two years or more of secondary education.[18][19] Because of this, Zambia had to invest heavily in education at all levels.[20] Kaunda instituted a policy where all children, irrespective of their parents' ability to pay, were given free exercise books, pens, and pencils. The parents' main responsibility was to buy uniforms, pay a token "school fee" and ensure that the children attended school. This approach meant that the best pupils were promoted to achieve their best results, all the way from primary school to university level. Not every child could go to secondary school, for example, but those who did were well educated.[21]
</p>
</article>
</section>


</div>
<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
</body>
<footer class="footer">

<h3>The Moon will always shine</h3>
<p class="pfooter">Copyright. All rights reserved.</p>

</footer>

</html>

</main>
</html>