Exercise: Model Defaults and Events
Apply what you’ve learned about model defaults and events by displaying a contact without a phone number in Marionette.
We'll cover the following
Displaying a contact with no phone number
Add a default phone number called “No phone number!” and then create a new model without a phone number and click it. Make sure that “No phone number!” is displayed in the alert like this:
Get hands-on with 1400+ tech skills courses.