/CelebrationCard

https://github.com/getfutureproof/fp_study_notes_forms_and_APIs

Study Notes

| Forms & APIs | Mocking Fetch Requests for Testing |

Exercise

Working in pairs: Create a webpage that generates a celebration card.

  • Make a starter test suite (you can add/update as you go along if needed)
  • Add a form that asks for the following information
    • Greeting
    • Type of event (selected from a few)
    • Message
    • Submit button
  • On submission, the form should be hidden and a card should be shown in place.

Stretch goals

  • Use the Lorem Picsum API to pull in a background image based on the type of event.