Your question had received 4 close votes by the time you deleted it.
Voting to close and up- and down voting are two separate actions; a question can be both off-topic and great, or on-topic and dismal. I'm afraid people felt your question was off-topic and dismal.
Note that even if your question had been closed, voting would not have been disabled. Voting on questions provides other visitors with a signal 'this question is not worth your time', and affects your reputation score. Your reputation score reflects how much the community 'trusts' you (privileges are tied to reputation, for example), and you lost some of that trust by posting your question.
We cannot know exactly why 5 people down voted; reasons to vote are personal, private. But the tooltip on the down vote button does give a hint as to why people may have downvoted: This question does not show any research effort; it is unclear or not useful. In this instance, your question showed a lack of research effort, namely in how Stack Overflow works.
When you first joined the site and wanted to ask a question, you were shown the How to Ask page, which included a checkbox to tick to acknowledge you'd remember the advice given. That advice included a link to what is on-topic and acceptable as well as what you should avoid asking about. Your question was asking for opinions and was too broad, and you could have avoided asking that question had you paid attention to the advice given.
Now that the post has been deleted, your reputation loss has been reverted. Do know however that if you continue to posts off-topic questions and receive downvotes, the system may automatically ban you from asking more questions until you gain community trust in other ways (improve existing questions, create good answers, etc.).