If you're looking for a way to create an HTML page of your employees/team members using nothing but your command line, look no further! Here is a Team Member Webpage Generator that will handle all the hard work for you. Simply answer the questions in the integrated terminal and the webpage will generate once you're done.
Execute the command "npm install" and you're all set.
After installing your packages, type in "node index" in the integrated terminal. Question prompts will appear for you to answer. Answer the questions and follow through to the end for as many employees as you need.
MIT
Jonayah M. Jackson
All in all, there were 18 tests to check the functionality of this generator:
-
Employee Tests
- Can instantiate Employee instance
- Can set name via constructor arguments
- Can set id via constructor argument
- Can set email via constructor argument
- Can get name via getName
- Can get id via getId
- Can get email via getEmail
- getRole() should return "Employee"
- Can set GitHUb account via constructor
-
Engineer Tests
- Can set GitHUb account via constructor
- getRole() should return "Engineer"
- Can get GitHub username via getGithub
-
Intern Tests
- Can set school via constructor
- getRole() should return "Intern"
- Can get school via getSchool
-
Manager Tests
- Can set office number via constructor argument
- getRole() should return "Manager"
- Can get office number via getOffice
- Q: Do I need to install anything? A: Yes, install Inquirer.
- Q: Once I answer the questions, what do I need to do? A: Nothing, the webpage will autopopulate Bootstrap cards of your team members and their respective information.
- Q: I keep seeing a wild comma on my page. What do I do? A: Look for random commas in the generated html code in between divs and delete them.
- GitHub Profile: https://github.com/JonayahJ
- Email Address: [email protected]