- Review the server, DB, and HTML
IS THE SCRIPT TAG AT THE BOTTOM OF THE HTML FILE?
-
Assign constants to DOM items that you'll need to be able to manipulate (A)
-
Assign URL to constant (A)
-
Add single + batch rendering functions (B)
- Fetch request (C)
- Create any elements needed for display (B)
- Append new elements to existing DOM (B)
TEST THESE BEFORE MOVING ON
- Add functionality
- Create new (D) - Pokemon & Toy Tale
- Edit (E) - Dog show
- Delete (F) - Pokemon
- Likes (G) - Toy Tale
- Toggle (H) - Woof Woof
- Filter (I) - Woof Woof
- Page Limits - Monsters
TEST EACH WITH SERVER BEFORE MOVING ON TO WHAT IT LOOKS LIKE IN BROWSER
- Event listeners (J)
INDENTATION IS IMPORTANT
START UP JSON SERVER --> npm install -g json-server json-server db.json
CURLY BRACES --> {} does not implicitly return anything