What does A for effort mean?

A for effort meaning in Urban Dictionary

Nice try, but the final item sucks.