Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee Payroll Tracker Starter Code

JavaScript Challenge: Employee Payroll Tracker

Description

  • BOOTCAMP MODULE 3 CHALLENGE
  • Created an Employee Payroll Tracker application
  • Used HTML and CSS
  • Modified Images with Adobe Photoshop

Tasks completed

  • modified starter code an employee payroll tracker application
  • once the user clicks the "Add employee" button they are presented with three prompt boxes that I added
  • user is able to add multiple employees until they click cancel
  • my employee data is displayed on the page sorted alphabetically by last name, and the console shows computed and aggregated data
  • completed the collectEmployees function which adds employees to an array of objects verifies user input boxes are not empty, removed trailing spaces, converts salary to a number
  • collectEmployees function modifies the strings to have the first letter of each name to be capitalized and the remainder to be in lower case
  • created displayAverageSalary function that adds up all of the employees' salaries and divides by the number of employees present in the object array. Statement is written to the console.
  • created getRandomEmployee function, which allows the program to randomly choose one of the employees for a prize drawing. Statement is written to the console.

Installation

To run this project, navigate to:

To view project, navigate to https://rmburgos.github.io/employee-payroll-tracker/

Usage

payroll_tracker1 payroll_tracker2

Built With

  • JavaScript
  • CSS
  • HTML

Credits

This project used starter code provided by the instructors and TAs of the Rice University Coding Bootcamp, including Mateo Wallace, Mark Alfano, Gerard Mennella

Tutorial instructions found here

Additional resources include:

License

Distributed under the MIT License. See LICENSE.txt for more information.

About

Module 3 challenge

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages