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
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
Yinuo Zhao https://a1-pepenoq.glitch.me/

This project shows ...

## Technical Achievements
- **Styled page with CSS**:

* color: changes the color of any element in the html file
* font-family: changes the font to the designated group and type
* font-size: changes the font size to the specified percentage
* margin-left: changes the distance between element and left side of site
* list-style-type: changes the style of bullet points in a list

- **Simple JavaScript animation**: There is a yellow square that will move across a black box upon loading of the website
- **HTML Tags**:
-
* img: There is a WPI logo embedded at the top of the website as an img
* href img link: There is an href link within the logo when clicked
* href CS link: There is an href link on the acronym "CS" when clicked
* href RBE link: There is an href link on the acronym "RBE" when clicked
* href Music link: There is an href link on the word "Music" when clicked

### Design Achievements
- **Used the Montserrat Font from Google Fonts**: I used "Montserrat" Regular 400 for all text elements
- **Create a colour palette**: My colour palette consisted of the colour codes "#F0B05C", "#14F5A4", "#1381EB", "#57DE1D", and "#F5DB14". The colour palette image can be found in the repository




Assignment 1 - Hello World: Basic Deployment w/ Git, GitHub, Glitch
===

Expand Down
Binary file added colourpalette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
113 changes: 104 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,121 @@
<head>
<title>CS4241 Assignment 1</title>
<meta charset="utf-8">
<style>

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

h1{
color: #F0B05C;
font-family: 'Montserrat', sans-serif;
font-size: 250%;
margin-left: 5px;
}
h2{
color: #14F5A4;
font-family: 'Montserrat', sans-serif;
font-size: 150%;
margin-left: 5px;
}

p{
color: #1381EB;
font-family: 'Montserrat', sans-serif;
margin-left: 10px;
}

ul{
font-family: 'Montserrat', sans-serif;
font-size: 90%;
margin-left: 20px;
list-style-type: kannada;
}

#box {
width: 400px;
height: 400px;
position: relative;
background: black;
margin-left: 20px;
}
#animate {
width: 50px;
height: 50px;
position: absolute;
background-color: yellow;
}

</style>



</head>
<body>
<h1>Information about [Your name here]</h1>
<a href="https://www.wpi.edu/"><img src="https://cdn.discordapp.com/attachments/926188769323929721/1013709298578231417/WPI_logo.png" width="200" alt="WPI logo"></a>
<h1>Info. about Yinuo (Enoch) Zhao</h1>
<p>
[Self introduction]
Hey! Didn't see you there :D
</p>
<p>
[Major and other information]
My name is Enoch and I'm a <a href="https://www.wpi.edu/academics/departments/computer-science">CS</a> and
<a href="https://www.wpi.edu/academics/departments/robotics-engineering">RBE</a> Major with a Minor in <a href="https://music.wpi.edu/">Music</a>
<br> of the Class of 2024
</p>
<p>
[Other things]
Outside of school I enjoy playing the piano and vibing out to music.
</p>

<h2>Experience</h2>
<h2>Previous Courses and Experience</h2>

<p>
Working experience
Previous CS related courses:
</p>
<ul>
<li>IBM/Rational</li>
<li>WPI</li>
<ul style="color:#57DE1D;">
<li>CS 1101</li>
<li>CS 2102</li>
<li>CS 2303</li>
<li>CS 2223</li>
<li>CS 3733</li>
<li>CS 3516</li>
<li>RBE 2002</li>
<li>ECE 2049</li>
</ul>
<p>
Programming languages experience:
<ul style="color: #F5DB14; background-color: black">
<li>HTML - intermediate proficiency</li>
<li>CSS - intermediate proficiency</li>
<li>JS - intermediate proficiency</li>
<li>Python - intermediate proficiency</li>
<li>Java - intermediate proficiency</li>
</ul>

</p>

<p></p>
<div id ="box">
<div id="animate">
</div>
</div>

<script>

let id = null;
const elem = document.getElementById("animate");
let pos = 0;
clearInterval(id);
id = setInterval(frame, 5);
function frame() {
if (pos == 350) {
clearInterval(id);
} else {
pos++;
elem.style.top = pos + "px";
elem.style.left = pos + "px";
}
}

</script>

</body>
</html>
18 changes: 18 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@



li {
list-style-type: none;
padding: 10px;
outline: 1px solid #F0B05C;
}

roman{
list-style-type: upper-roman;
padding-left: 50px;
color: #F0B05C;
}

body{
background-color: #F0B05C;
}