from pyscript import display
# FIXED PHOTO LIST
class_photos = [
{
"src": "foodfair.jpg",
"caption": "This was the best fair we had and great teamwork."
},
{
"src": "intrams.jpg",
"caption": "Very competitive but still had a fun time."
},
{
"src": "jointcampout.jpg",
"caption": "#LovingNature"
}
]
for p in class_photos:
flip_card = f"""