Skip to content

Commit

Permalink
adding my art to the project (#2393)
Browse files Browse the repository at this point in the history
* adding my art to the project

* fix broken link in include.js

---------

Co-authored-by: Sophia Brandt <16630701+sophiabrandt@users.noreply.github.com>
  • Loading branch information
PiyushLuitel-07 and sophiabrandt committed Oct 30, 2023
1 parent 30573ec commit 60a08ce
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
Binary file added Art/Piyush_Luitel/index.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions Art/Piyush_Luitel/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Animation</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="box"></div>
</body>
</html>
25 changes: 25 additions & 0 deletions Art/Piyush_Luitel/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}

.box {
width: 100px;
height: 100px;
background-color: #3498db;
animation: bounce 2s infinite;
}

@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-100px);
background-color: #e74c3c;
}
}
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -2683,6 +2683,13 @@ let cards = [
author: 'Christian',
githubLink: 'https://github.com/cpasigna90'
},
{
artName: 'Moving square that changes color',
pageLink: './Art/Piyush_Luitel/index.html',
imageLink: './Art/Piyush_Luitel/index.gif',
author: 'Piyush_Luitel',
githubLink: 'https://github.com/PiyushLuitel-07'
}
];

/* -------------------------------------------------------------------------- */
Expand Down

0 comments on commit 60a08ce

Please sign in to comment.