Yes are the same element, I've just written the two parts of code in two different times so I did the same thing in two different ways.