/assets
/images
/cats
/dogs
/profiles
cats.json
dogs.json
Goal: 20β30 pet images (cats & dogs), clear and cute.
-
Rules:
-
Only square-ish or portrait images (easier for swipe cards).
-
File format =
.jpgor.png. -
Rename files clearly:
dog_01.jpg,dog_02.jpgcat_01.jpg,cat_02.jpg
-
-
Save them into:
/assets/images/dogs//assets/images/cats/
Each pet profile = one JSON object. Fields:
{
"id": 1,
"name": "Bella",
"species": "dog",
"breed": "Golden Retriever",
"age": 3,
"gender": "female",
"location": "Hanoi",
"bio": "Loves long walks in the park and chasing tennis balls. Looking for a playful buddy!",
"image": "assets/images/dogs/dog_01.jpg"
}cats.json
[
{
"id": 1,
"name": "Mochi",
"species": "cat",
"breed": "British Shorthair",
"age": 2,
"gender": "male",
"location": "Ho Chi Minh City",
"bio": "Lazy afternoon napper, but secretly a hunter at night.",
"image": "assets/images/cats/cat_01.jpg"
},
{
"id": 2,
"name": "Luna",
"species": "cat",
"breed": "Siamese",
"age": 1,
"gender": "female",
"location": "Da Nang",
"bio": "Curious and loves climbing curtains. Friendly with other cats.",
"image": "assets/images/cats/cat_02.jpg"
}
]dogs.json
[
{
"id": 1,
"name": "Max",
"species": "dog",
"breed": "Beagle",
"age": 4,
"gender": "male",
"location": "Hanoi",
"bio": "Energetic sniff master. Looking for friends to go on adventures!",
"image": "assets/images/dogs/dog_01.jpg"
},
{
"id": 2,
"name": "Bella",
"species": "dog",
"breed": "Golden Retriever",
"age": 3,
"gender": "female",
"location": "Hai Phong",
"bio": "Sweet and caring, always ready for a cuddle.",
"image": "assets/images/dogs/dog_02.jpg"
}
]- 10β15 cats
- 10β15 dogs
- Total: ~25β30 profiles
- Zip the whole
/assetsfolder. - Make sure JSON files and image paths match correctly.
- Test by opening JSON in a text editor β no red error highlights.