Make a user input phone number display as (xxx) xxx-xxxx on entry.

any help for how to use this code? Still haven’t been able to get it to work.
Thank you!