Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input field #28

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
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
47 changes: 47 additions & 0 deletions idan/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Idan Flaishman Portfolio</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<img id="me" src="me.jpeg" />
<div>
<h1>Idan Flaishman</h1>
<ul>
<li>
<a href="https://github.com/TheLastVigil"
><img class="githubImage" src="https://cdn-icons-png.flaticon.com/512/25/25657.png"
/></a>
</li>
<li>
<a href="https://www.linkedin.com/in/idan-flaishman/">
<img class="linkedinImage"
src="https://static.vecteezy.com/system/resources/previews/018/930/587/non_2x/linkedin-logo-linkedin-icon-transparent-free-png.png"
/>
</a>
</li>
</ul>
</div>
</header>
<main>
<h2>
I type prompts in chat gpt and then paste the code into the ide without
knowing anything
</h2>
<h2>I make 400 trillion dollars every micro second</h2>
<h3>
Here are my projects
</h3>
<ul>
<li>Raec - Learning the bible easily</li>
<li>Mekomi - Helping homeless people</li>
<li>KnowBoo - Smart Electronic Notebook</li>
<li>The Ancient Primal - Dinosuar CCG</li>
</ul>
</main>
</body>
</html>
Binary file added idan/me.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions idan/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/* ---------------- BOILERPLATE ---------------- */
* {
padding: 0;
margin: 0;
}
/* ---------------- BODY AND HTML ---------------- */
html {
height: 100vh;
}
body {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
color: white;
background: linear-gradient(#13527e, #07314f);
background-position: center;
background-size: 100%;
background-repeat: no-repeat;
background-attachment: fixed;
}
header {
display: flex;
align-items: center;
gap: 1rem;
}
main {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
#me {
width: 10rem;
border-radius: 50%;
border: 1px solid black;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}
.linkedinImage {
width: 5rem;
}
.githubImage {
width: 3rem;
}
header ul {
list-style: none;
display: flex;
align-items: center;
}
main ul {
list-style: none;
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
12 changes: 12 additions & 0 deletions inputField.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const studentItems = document.querySelectorAll('.student-item');
const searchInput = document.querySelector('input[type="search"]');

searchInput.addEventListener('input', () => {
studentItems.forEach((studentItem) => {
if (!studentItem.innerHTML.toLowerCase().includes(searchInput.value.toLowerCase())) {
studentItem.style.display = 'none';
} else {
studentItem.style.display = 'flex';
}
});
});
46 changes: 25 additions & 21 deletions students.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<head>
<meta charset="UTF-8" />
<title>Students</title>
<link rel="stylesheet" href="students.css" type="text/css">
</head>
<body>
<link rel="stylesheet" href="students.css" type="text/css" />
</head>
<body>
<input type="search">
<div class="students-container">
<div class="students-list">
<div class="student-item">
<h4>Andrey Michaely</h4>
<a href="andrey-michaely/index.html">CV</a>
<a href="https://www.linkedin.com/in/andrey-michaely-ptjd777">Linkedin</a>
<a href="https://github.com/AndreyMich">Git</a>
</div>
<!--
<div class="students-list">
<div class="student-item">
<h4>Andrey Michaely</h4>
<a href="andrey-michaely/index.html">CV</a>
<a href="https://www.linkedin.com/in/andrey-michaely-ptjd777"
>Linkedin</a
>
<a href="https://github.com/AndreyMich">Git</a>
</div>
<!--
TODO: add your item here as described in example below
-->
<div class="student-item">
<h4>Israel Israeli</h4>
<a href="enter relative path to your index.html">CV</a>
<a href="enter your linkedin profile link">Linkedin</a>
<a href="enter your github profile">Git</a>
</div>
<div class="student-item">
<h4>Israel Israeli</h4>
<a href="enter relative path to your index.html">CV</a>
<a href="enter your linkedin profile link">Linkedin</a>
<a href="enter your github profile">Git</a>
</div>
</div>
</div>
</body>
</html>
<script src="inputField.js"></script>
</body>
</html>