What’s the best way to learn grammar and sentence structure?

I have very little to no experience learning languages, my strong points are with alphabets and pronunciation which I’m able to learn and memorize pretty quickly, but I struggle most with grammar and sentence structure

I had an idea to maybe read children’s books in my target language and to just translate every individual word until I pickup on it, and that maybe the added context clues of the books illustrations could help

But yeah, I’d love to find some good methods for learning them.