Is gene a triplet of consecutive DNA nucleotides
A gene isn't a triplet of DNA nucleotides with their respective nitrogen-containing bases, like CGT or AAG. The nucleotide triplets perhaps pieces of genes but not genes.
A Gene is a portion of the DNA molecule that codifies a specific protein. Therefore it is formed by several DNA nucleotide triplets.