Skip to content

Commit

Permalink
Add Fayezkhan1 (#2151)
Browse files Browse the repository at this point in the history
* Add Fayezkhan1

* added details in include.js

---------

Co-authored-by: Sophia Brandt <16630701+sophiabrandt@users.noreply.github.com>
  • Loading branch information
Fayezkhan1 and sophiabrandt authored Oct 27, 2023
1 parent 769e780 commit bc8401c
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
Binary file added Art/Fayezkhan1/art.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions Art/Fayezkhan1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="ball1"></div>
<div class="ball2"></div>

</body>
</html>
56 changes: 56 additions & 0 deletions Art/Fayezkhan1/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
.ball1{
width: 100px;
height: 100px;
border-radius: 50%;

background-color: blueviolet;
position: absolute;
top: 50%;
left: 0%;
transform: translateY(-50%);
animation: bounce1 3s ease-in-out infinite;


}
.ball2{
width: 100px;
height: 100px;
border-radius: 50%;

background-color: blueviolet;
position: absolute;
top: 50%;
right: 0%;
transform: translateY(-50%);
animation: bounce2 3s ease-in-out infinite;


}
h1{
color: blue;
}

@keyframes bounce1{
0% {
left:0;
}
50%{
left: 44%;
}

100%{
left: 0;
}
}
@keyframes bounce2{
0% {
right:0;
}
50%{
right: 44%;
}

100%{
right: 0;
}
}
8 changes: 8 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -1999,6 +1999,7 @@ const cards = [
githubLink: 'https://github.com/vivekBoii'
},
{

artName: 'Rotating Spirals',
pageLink: './Art/Vivek-Kumar/RotatingSpirals.html',
imageLink: './Art/Vivek-Kumar/RotatingSpirals.gif',
Expand All @@ -2019,6 +2020,13 @@ const cards = [
author: 'div02-afk',
githubLink: 'https://github.com/div02-afk'
},
{
artName: 'Colliding Balls',
pageLink: './Art/Fayezkhan1/index.html',
imageLink: './Art/Fayezkhan1/art.png',
author: 'Fayezkhan1',
githubLink: 'https://github.com/Fayezkhan1'
},
{
artName: 'Hover Over Me',
pageLink: './Art/Sayed-Husain/hoverOverMe.html',
Expand Down

0 comments on commit bc8401c

Please sign in to comment.