Answer:
This is a complex sentence
Step-by-step explanation:
When your dependent clause is at the front and acts like an adverb ā typically stating a time, a place, or a condition ā then it is usual to use a comma after the dependent clause to show where the independent clause starts.