Yes, you should put a comma.
A comma is usually used in the middle of a sentence to separate two clauses, or right before a conjunction. Since “like” is a dependent clause in this sentence, as “it can be attractive” can stand alone, a comma would be put before it. It may also help to read the sentence and see if there is a natural pause to it.
the answers to this is irony
123 is the answer hope u like it
What is something that you wrote that you are proud of is essentially what it is asking.