Option 1 is the right substitute. The word 'danger' is a noun, and the sentence has a pronoun as a subject. So, an adjective is needed to modify it. Thus, 'dangerous' is the right word. It means --able or likely to cause harm or injury. Correct sentence: It is dangerous to cross the road unmindfully.