Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.
Closed
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
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Open index.html",
"file": "c:\\Users\\Acer\\Downloads\\Compressed\\fork-me-fcc-test-suite-template\\HTML-CSS-Coursework-Week1\\index.html"
}
]
}
101 changes: 101 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,104 @@
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/

/*Header*/
header{
padding-bottom: 0;
margin-left: 255px;
background-color: rgb(217, 222, 223);
border-radius: 15px;
text-align: center;
font-family:Roboto,'Times New Roman', Times, serif;
font-size: 20px;
}
/*SideBar*/
div.sideBar{
background-color: rgb(80, 182, 80);
height: 100%;
width: 250px;
position: absolute;
top:21px;
}
.profilePic{
width: 150px;
height: 150px;
margin-left: 50px;
border-radius: 50%;
}
.sideBar h2,img + p{
font-size: 25px;
color: white;
text-align: center;
}
form input,button{
margin-bottom: 5px;
margin-left: 10px;
height: 25px;
border-radius: 5px;
font-family: cursive;
font-size: 15px;
font-weight: 150;
color: blue;
}
form p{
color: rgba(21, 123, 226, 0.63);
text-align: center;
font-size: 30px;
}

/*footer*/

footer p{
font-weight: 100;
font-size: 20px;
color: rgb(86, 40, 194);
}
.fa{
padding: 10px;
width:20px;
margin-left:15px;
color:white;
text-decoration: none;
text-align: center;
}

.fa-facebook {
background: #3B5998;
}


.fa-twitter {
background: #55ACEE;

}
.fa-instagram {
background: #125688;
}
.fa-pinterest {
background: #cb2027;
}
/*Main*/
main{
margin-left: 250px;
}

img.articleImg{
width: 150px;
height: 150px;
border-radius: 50%;
}
table{
margin: 20px;
}
.articleTopic{
font-size: 20px;
font-weight: 100px;
font-family: cursive;
}
article:first-child{
background-color: aliceblue;
}
html{
height: 100%;
}
6 changes: 6 additions & 0 deletions debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[1203/001348.370:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
<<<<<<< Updated upstream
[1203/163747.352:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
=======
>>>>>>> Stashed changes
[1204/153903.160:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
52 changes: 49 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,63 @@
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>My Blog</title>
<title>Hermosa</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" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<header>
<div>
<h1>HERMOSA</h1>
<p>We bring you the best of world most beautiful discoveries</p>
</div>
</header>
<body>
<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
<div class="sideBar">
<h2>Andile's Blog</h2>
<img class="profilePic" src="profilepic.jpg" alt="profilePic">
<p>Hi, My name is Andile Masela and this is my blog where I share the worlds best discoveries.</p>
<form>
<p>Register for notifications.</p>
<input class="email" type="email" placeholder="example@email.com"><button type="submit">Register</button>
</form>
<footer>
<P>Follow us on:</P>
<a href="#" class="fa fa fa-facebook"></a>
<a href="#" class="fa fa fa-twitter"></a>
<a href="#" class="fa fa fa-instagram"></a>
<a href="#" class="fa fa fa-pinterest"></a>
</footer>
</div>
<main>
<table id="articles">
<tr>

<th><!--images--></th>
<th><!--article--></th>

</tr>
<tr>
<td><img class="articleImg" src="parallelUniverse.jpg" alt=" parallelUniverse"></td>
<td><article><p class="articleTopic">Parallel universe</p><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.<a class="articleLInk" href="https://www.lipsum.com/" target="blank">read more</a></p></article></td>
</tr>

<tr>
<td><img class="articleImg" src="lifeOnAnotherPlanet.jpg" alt="lifeOnAnotherPlanet"></td>
<td><article></article><p class="articleTopic">Life on Mars</p><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.<a class="articleLink" href="https://www.lipsum.com/" target="blank">read more</a></p></article></td>
</tr>

<tr>
<td><img class="articleImg" src="lifeOnSpace.jpg" alt="lifeOnSpace"></td>
<td><article></article><p class="articleTopic">Life in space</p><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.<a class="articleLink" href="https://www.lipsum.com/" target="blank">read more</a></p></article></td>
</tr>
</table>
</main>
</body>

</html>
Binary file added lifeOnAnotherPlanet.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 lifeOnSpace.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 parallelUniverse.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 profilepic.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.