In a large cast iron skillet, add the olive oil and the julienned onions. Saute the onions over medium heat for 5 - 6 minutes or until they start to soften.
Next, sprinkle the salt over the onions and stir. Reduce the heat to medium-low and let it cook slowly for 20 minutes. then lower the heat to low and let it sauté for another 30 minutes. The key is to not rush it.
Stir the onions every 2-3 minutes until the onions start to become soft and golden brown or caramelized.
The time it takes for them to caramelize will depend on the thickness of the onion and the amount of heat used.
Notes
Time: If the onions are thinly sliced, it may take less time for them to caramelize. it depends on the thickness of the sliced onions.
If you prefer the caramelized onion to have a deeper brown color, at the end, higher the heat and stir for a few more minutes until you get the color you need