As a title is presume here you can practice the past continuous tense.
I was learning at six o’clock yesterday.
While I was having a shower my girlfriend was watching TV.
I was taking a nap when the postman arrived.
She was walking on the street when a brick fell behind her.
I was jogging when the dogs attacked me.
While I was drinking a bug bit me.
The tense is fine, but I would use ‘along the street’ rather than ‘on the street’. (As I am from the UK, to me ‘on the street’ indicates on the surface of the street. The American perspective may be different.)
She was walking along the street when a brick fell behind her.
They are all fine, but if you are studying for an exam in a foreign country, then you may be expected to use the more traditionally grammatically correct ‘whilst’ instead of ‘while’ to begin two of the sentences.
I was cooking the dinner whilst they arrived. (I have never seen whilst before.)
Are they walking along the street at noon?
She was playing the piano and her mother was cleaning the kitchen.
I pointed out that ‘while’ was fine but some examining boards, if they are of a traditional mindset, may expect ‘whilst’. It may be less common than it used to be, but it is still correct and some (including me) would certainly not describe it as ‘affected’.