Skip to content

k02s/HR-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HR-management-system

Task 09


Requirements


Home page

  1. Replace all of your object literals for the HR-management-system with a single constructor function that, when called with the ‘new’ keyword, creates a new instance.
  2. You will refactor the render method to be a prototype method to render each employee name, department, and employee salary using document.write() or innerHTML as the following.
  3. Note that you need to keep the methods that are responsible for generating employeeID and calculating the salary.

new modifications

  • You will refactor the render prototype method to render each employee's information in a separate card on the home page as shown below. Note that you will use images for the employees in the assets directory.

Style

  1. Add some style for the header and the footer
  2. Use flex to organize the content of the main content.
  3. Add backgrounds, font colors, google fonts, and any additional style.

Stretch goal

Separate the employees' cards by their department where you will have a separate section for each department.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published