with the article HTML. The thinking process must occur before generating that final output. I should break down my approach…