- Team Treehouse Project: Unit-5
- https://github.com/jcruzaxaeon/employee-directory.git
- Request 12 "users" from public API (randomuser.me)
- API Data > JSON > Array-of-Objects
- Display grid of user-summaries
- Show details on user-summary-click
- Implement search-for-name function
- Art-direct email-display for user-summary in mobile-view. Most emails overflow.
- JavaScript only (No HTML, CSS)
- Promise-chain. Similar to guard-clause conditionals
- fetch().then().catch()
- Central GitHub Repo
- WSL2 > Debian 10 > Linux CLI
- GreenGeeks Hosting
note
: Merge toaxaeon.com
detail
: git submodule foraxaeon.com
code
: 5tdescription
: Simple employee directory with name-search functionauthor
: jcruzcentralRepo
: https://github.com/jcruzaxaeon/employee-directory.gitbranch
: mainorg
: Team TreehouseorgType
: Code Academycertification
: Fullstack JavaScript Techdegreelesson
: Unit Project 5topics
: Public API requeststext
: Team Treehouse Unit Project 5. Employee Directory. Practice with public API requests.
- metaActions
- Art-direct email-display for user-summary in mobile-view. Most emails overflow.
-
unknownDate
- Changed the font-schema to meet
Exceeds Expectations
criteria. See commit-description below: - modify font schema
- add
Seaford
, andHadassah Friedlaender
true-type fonts to CSS - add and link associated
.ttf
-files - find changes to CSS with
Ctrl-F
: EEC
- add
- Changed the font-schema to meet
-
October 23, 2023
- add light JSDoc comments
- fix comment error in modalHTML
- remove unused index var (j) from search-listener
- refactor-0
-
October 21, 2023
- correct link-font
- add
<a>
-element to CSS-file - set font from schema
- add
- modify font schema, handle fetch errors
- add
Seaford
, andHadassah Friedlaender
true-type fonts to CSS - add and link associated
.ttf
-files - find changes to CSS with
Ctrl-F
: ECC - add
.catch( err => {})
tofetch()
promise-chain
- add
- step-through employee modal-windows
- cycle through employee modal-windows by clicking (
prev
,next
)-buttons
- cycle through employee modal-windows by clicking (
- implement search
- implement
form
-search on (submit
/search
)-events
- implement
- correct link-font
-
October 20, 2023
- fix phone format
- filtering for nationality as url/nat=us returns phone numbers in the requested format
- fix phone format
-
October 19, 2023
- add modal window
- create modal-like window on card-click displaying user details
- 'close' modal-like window on close-button-click
- api-request 12 users, display
- initialize
js/scripts.js
- make a single API request to
randomuser.me/
for12
-users - display: (1) image, (2) first and last name, (3) email, (4) city or location
- initialize
- add modal window
-
October 17, 2023
- staging
- stage default project-files from TTH
index.html
styles.css
normalize.css
- stage project (onto
seraeonic.com
): html, git
- stage default project-files from TTH
- staging
Code | Description |
---|---|
TTH |
Team Treehouse (Code Academy) |
- complete refactor-1
- add 2-spaces to EoFs for proper Linux display with
$ cat {filename}.md
- refactor JSDoc comments in
script.js
- add 2-spaces to EoFs for proper Linux display with
- (???) should i test, extract, and reformat
phone
if failure? ask tth-staff. - Add font change to "project submission notes"
- [<] Develop testing workflow <= correct set of bugs in a single-refactor commit
- Changed the font-schema to meet
Exceeds Expectations
criteria. See commit-description below:
### modify font schema
- [x] add `Seaford`, and `Hadassah Friedlaender` true-type fonts to CSS
- [x] add and link associated `.ttf`-files
- [x] find changes to CSS with `Ctrl-F`: EEC