Skip to content
Open
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
19 changes: 15 additions & 4 deletions views/jobpost.ejs
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a header for the page called "Enter the Job Details" add some inline styling to the page.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requested changes has been made 🎉

Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,21 @@
<meta charset="UTF-8">
<title>Apply for Job</title>
<link rel="stylesheet" href="styles.css"> <!-- Adjust the path as necessary -->
<style>
.header {
text-align: center;
background-color: #f2f2f2;
padding: 10px;
margin-bottom: 20px;
}
</style>
</head>
<body>
<form id="applyJobForm" method="POST" action="/jobpost" >

<div class="header">
<h1>Enter the Job Details</h1>
</div>

<form id="applyJobForm" method="POST" action="/jobpost" style="max-width: 500px; margin: 0 auto;">
<label for="companyName">Company Name:</label>
<input type="text" id="companyName" name="companyName" required placeholder="e.g., Acme Corp">

Expand All @@ -34,7 +45,7 @@

<input type="hidden" id="jobId" name="jobId">

<button type="submit">Apply</button>
<button type="submit" style="display: block; margin: 10px auto;">Apply</button>
</form>

<script src="/js/interactivity.js"></script> <!-- Adjust the path as necessary -->
Expand All @@ -44,4 +55,4 @@
const jobId = params.get('jobId');
document.getElementById('jobId').value = jobId;
</script>
</body>
</body>