Grate the potatoes using a box grater or food processor. Place the grated potatoes in a clean kitchen towel and squeeze out as much liquid as possible. This will help the pancakes become crispy.
In a large mixing bowl, combine the grated potatoes, grated onion, minced garlic, eggs, flour, salt, black pepper, and marjoram (if using). Mix well until all ingredients are evenly distributed.
In a large skillet, heat about 1/4 inch of vegetable oil over medium-high heat until hot. You can test if the oil is ready by dropping a small piece of the potato mixture into the oil. If it sizzles, the oil is ready.
Using a spoon or your hands, form small patties from the potato mixture and carefully place them in the hot oil. Flatten each patty slightly with a spatula.
Fry the pancakes for about 3-4 minutes on each side, or until golden brown and crispy. Adjust the heat as needed to prevent burning.
Remove the pancakes from the skillet and place them on a plate lined with paper towels to drain any excess oil.
Repeat the process with the remaining potato mixture, adding more oil to the skillet as needed.
Enjoy your meal!