Peel the potatoes and slice them thinly (about ⅛ inch thick).
Peel and finely chop the onion.
In a frying pan, heat the olive oil over medium heat. Add the sliced potatoes and onion, ensuring they are evenly coated in oil. Season with a pinch of salt.
Cook the potatoes and onion, occasionally stirring, for about 15-20 minutes, until the potatoes are tender and slightly golden.
Crack the eggs into a large mixing bowl, season with salt and pepper, and whisk until combined.
Once the potatoes and onions are cooked, drain them from excess oil and let them cool for a few minutes. Then, gently stir them into the egg mixture.
In the same frying pan, add a little more olive oil if necessary and heat over medium-low heat. Pour in the egg and potato mixture, spreading it evenly.
Cook for about 5-7 minutes, or until the edges start to set and turn golden.
Carefully flip the tortilla using a large plate: place the plate on top of the frying pan, flip it over, and then slide it back into the pan to cook the other side.
Cook for another 5-7 minutes until the other side is golden and the center is set.
Once done, slide the tortilla onto a serving platter or cutting board. Let it cool for a few minutes before slicing.
Serve warm or at room temperature, and enjoy!