Skip to content

Commit

Permalink
clarify headers in structs-exercise.md (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyoshenka authored Nov 29, 2023
1 parent 6134220 commit 307f741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/base-docs/base-camp/docs/structs/structs-exercise.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ Add a function called `addCar` that adds a car to the user's collection in the `
- Accept arguments for make, model, color, and number of doors, and use those to create a new instance of `Car`
- Add that `Car` to the `garage` under the user's address

### Get All Cars Belonging to a User
### Get All Cars for the Calling User

Add a function called `getMyCars`. It should return an array with all of the cars owned by the calling user.

### Get User Cars
### Get All Cars for Any User

Add a function called `getUserCars`. It should return an array with all of the cars for any given `address`.

Expand Down

0 comments on commit 307f741

Please sign in to comment.