Q.What plants are ok to plant next to each other?
I am planting: potatoes, onion, tomatoes, bell peppers, jalapeno peppers, green beans, peas, cucumber, corn, cantaloupe and watermelon. What is best way for layout?

Certified GKH Gardening Expert
As far as layout goes, as long as you are in the northern hemisphere, just make sure that your taller plants are on the north side of your garden. Shorter plants to the south. This will allow light to reach each plant as good as it needs to. If you are in the southern hemisphere, this will be opposite.
Here is a companion planting guide to help: https://www.gardeningknowhow.com/edible/vegetables/vgen/companion-vegetable-garden.htm