user71834: I have linked an external push red colored button to my arduino but when I press it, instead of giving me HIGH or LOW, it resets the arduino. I am a beginner to this stuff so could someone help?

user62676: 
If your button creates a short circuit between 5V and GND pins... it will certainly act like a RESET.  Let's try to make sure you are not creating a dead short on an Arduino pin so you avoid prematurely killing your controller.

71834: <p>I have linked an external push red colored button to my arduino but when I press it, instead of giving me HIGH or LOW, it resets the arduino. I am a beginner to this stuff so could someone help?</p>
 62676: <p><a href="https://i.stack.imgur.com/xhgTB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xhgTB.png" alt="enter image description here" /></a></p>
<p>If your button creates a short circuit between 5V and GND pins... it will certainly act like a RESET.  Let's try to make sure you are not creating a dead short on an Arduino pin so you avoid prematurely killing your controller.</p>
