Sometimes when i click on the verify icon just to verify my code in arduino it says "coudlnt upload to boad"...but after a few tries it says compiled. Is it just a normal problem or can it be fixed.
Not an issue I have seen mentioned as it would get a lot of comments.
That sounds like you may be hitting UPLOAD rather than VERIFY.
If you are using a mouse to select maybe check it is not at a too sensitive setting in your OS.
Bob.
Are you using the Arduino IDE or the Arduino Web Editor? If the Arduino IDE, which version?