@captainepoch how pedantic do you want? :)
"wrote something bad" — you probably want "wrote something wrong," otherwise you're saying you wrote something naughty or morally objectionable.
"Incorrect" should really be "incorrectly", but both are common in daily usage now.
Otherwise, you're doing pretty well. English is also not my native language, but I've been speaking it as my first language for most of my life now.