编辑以下文章，使其更流畅和易于阅读。


原文:
“It was a cold winter’s night when John decided to go for a walk. He put on his coat and hat and went outside. As he walked, he saw a dog barking loudly. John didn’t like dogs so he crossed the street. Then he saw a cat up a tree. John stopped to watch the cat but then continued his walk.”
改写：
John decided to go for a walk on a cold winter's night. He put on his coat and hat and stepped outside. As he walked, a dog started barking loudly, but since John didn't like dogs, he crossed the street. He then noticed a cat up a tree and stopped to watch it for a moment, before continuing his walk.