I can't figure out how to fix this. It says the onclick is missing a semi-colon. I'm sure I'm missing something obvious - any ideas?
<a href="http://mywebsite.com" onclick="setTimeout(location.href='https://www.facebook.com/myprofile', 10);return true;">
setTimeoutexpects to be passed a function. You are passing a string ("https://www.facebook.com/myprofile"), which getsevald as JavaScript code, but that string doesn't contain JavaScript, so an error is thrown.onclick=and instead learn how to attach event handlers by using addEventListener or with a toolkit such as jQuery.