If you work as H1, and study part time, you can continue your green card process, I think.
But it is too hard. You may study one course before you get green card. Anyway check with lawyer.
But it is too hard. You may study one course before you get green card. Anyway check with lawyer.