There are so many lists of plants that deer don't prefer: lists of perennials, annuals, shrubs, and trees; lists by region put out by universities; and lists that give degree of resistance. I plant things almost exclusively off the lists in my backyard where, during certain seasons, it's practically a super highway for deer in and out of the woods. They'll take a nibble now and again but they don't linger. I don't have to worry. The lists are extensive, too.
They include many plants with strong, spicy scents like monarda, mums, daisies, sweet woodruff, ferns and many herbs.
Plants with milky white sap like euphorbias, milkweed,. balloon flower and vinca are not only unappetizing but can be poisonous to animals and people. Numerous plants used in medicines such as pulmonaria and digitalis are also poisonous to animals, as are most of the plants that have a common name ending in bane like fleabane, dogbane, and leopard's bane.
What about all of the plants you adore that happen to be deer favorites too? Be smart about the locations you choose for these specimens.
For annuals hanging baskets are a great solution for keeping things out of reach and off the radar of deer. It takes some planning and creativity to coexist peacefully with deer but it's worth it. It's so much less stressful and enjoyable when you're not at war in the garden. There are plenty of other challenges to keep us busy.