typing Spanish accents on English laptop
If you use Firefox you can install the abcTajpu add-on. then you just type a' and hit insert and it changes to á. Likewise n~ turns into ñ and u: becomes ü and c, becomes ç, etc... Very handy once you get used to it. Also, assuming you're checking interactive websites other than duolingo, you could get DictionarySwitcher, which changes your spell check to whatever language you choose.
The easiest way I have found to do it is to install the little bit of software from onehour programming (virus free, well established). All you have to do is hit the cap lock key with whatever letter you want and presto you have the letter with the correct accent. The website is: http://www.onehourprogramming.com/spanish-accents/