Gary has explained it above. Just to give you a few examples:
I attempted the test several times.
I attempted the survey yesterday but the link didn't work.
I'll attempt the quiz tomorrow.
I intend to go to the party.
I intended to meet her, but something came up in the last minute.
In colloquial English (at least in Australia), attempt is used as a verb only in the context of a quiz or exam or task. Otherwise, you would use the verb 'to try'. Eg. You should try this dish. Can I try using the keyboard? Otherwise, attempt is often used as a noun. Eg. Students have two attempts at this task. He made several attempts to charm her.
Similarly, it is common for people to say: I'm thinking to go, or I'm thinking of going, rather than I intend to go. That said, I intend to go is fine.