Skip to content

MateuszCieplak/Employys_table_DOM_JS

Repository files navigation

Employees Table

Live Demo

The "Employees Table" project is a task management app where users can manage a list of employees in a table format. It includes features such as sorting the table and adding new employees via a form. The task focuses on implementing interactive features using vanilla JavaScript and DOM manipulation.

Key features:

  • Table sorting: The table rows can be sorted in ascending or descending order by clicking on the table headers.
  • Row selection: Clicking on a row will highlight it as selected.
  • Adding employees: Users can add new employees to the table using a form with fields for name, position, office, age, and salary.
  • Data validation: The form checks for valid data (e.g., name length, age range, etc.) before adding a new employee.
  • Notifications: Success and error notifications are shown based on form validation results.

Additional features:

  • Form inputs: The form has required fields for each employee, including a select input for the office location and numerical inputs for age and salary.
  • Validation: Notifications are shown if the form data is invalid, such as for an invalid name or age.

Result of my code: Result

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8