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
27 changes: 26 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,33 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style/index.css"/>
</head>
<body>

<section class="topsection">
<h1> RYAN WANG</h1>
<nav>
<button><a href="index.html">HOME</a></button>
<button><a href="about.html">ABOUT</a></button>
<button><a href="contact.html">CONTACT</a></button>
<button><a href="projects.html">PROJECTS</a></button>
</nav>
<h1> Introduction to my projects </h1>
<p> filler </p>
<img src="https://picsum.photos/800/500"/>
</section>
<section class="row">
<img src="https://picsum.photos/200/400"/>
<img src="https://picsum.photos/200/400"/>
<img src="https://picsum.photos/200/400"/>
<img src="https://picsum.photos/200/400"/>
<div class="description">
My projects
</div>
</section>

<footer>
<button><a href="contact.html">Contact Me</a></button>
</footer>
</body>
</html>
47 changes: 46 additions & 1 deletion style/index.css
Original file line number Diff line number Diff line change
@@ -1 +1,46 @@
/* Add CSS styling here */
/* Add CSS styling here */
.topsection {
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
}

footer {
background-color: lightgrey;
text-align: center;
padding: 25px;
}

.row{
display: flex;
flex-direction: row;
justify-content: space-evenly;
padding: 25px;

}

.discription {
width: 200px;
text-align: center;
padding: 20px;
}
button {
background-color: white;
color: black;
border: black solid 1px;
padding: 5px 10px;
}

button:hover {
background-color: black;
color: white;
border: white solid 1px;
}

button a {
text-decoration: none;
color: inherit;

}