Skip to content
Closed
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
96 changes: 60 additions & 36 deletions index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,46 +5,70 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="css.css">
<style>
/* Add your custom styles here */
body {
font-size: 16px;
margin: 0;
padding: 0;
}

.mainbox {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}

.searchbox {
display: flex;
align-items: center;
justify-content: space-between;
}

.searchtext {
width: 80%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}

button[type="submit"] {
padding: 10px 20px;
background-color: #007BFF;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
.searchtext {
width: 100%;
}

.searchbox {
flex-direction: column;
align-items: flex-start;
}

button[type="submit"] {
width: 100%;
margin-top: 10px;
}
}
</style>
</head>
<body>
<div class="mainbox">
<section class="search">
<div class="searchbox">
<input type="text" name="search" class="searchtext" id="search" placeholder="Company name">
<button type="submit">Find</button>
</div>
</section>
<section class="jobs">

<section class="jobsfilter">
<input type="text" name="category" class="category" id="category">
<input type="text" name="location" class="location" id="location">
<input type="text" name="jobtype" class="jobtype" id="jobtype">
</section>
<section class="jobslist">
<div class="itemcard">
<% data.forEach(element =>{ %>
<div class="itemimg">
img <%= element.sno %>
<section class="search">
<div class="searchbox">
<input type="text" name="search" class="searchtext" id="search" placeholder="Company name">
<button type="submit">Find</button>
</div>
<div class="job">
<h1 class="title">
<%= element.title %>
</h1>
<p class="jobdesc">
<%= element.desc %>
</p>
</div>
<%= element.link %>
<button type="submit">Apply</button>
<% }) %>
</div>
</section>

</section>
</section>
<!-- Rest of your HTML content here -->
</div>
<script src="hide.js"></script>
<!-- <script src="js.js"></script> -->

</body>
</html>
</html>