Both magazine and journal articles can be good sources for your work.
When selecting articles, think about how you intend to use the information:
Do you want background on a topic new to you? (use magazines)
Did your teacher say to cite scholarly resources? (use journals)
Often a combination of the two will be most appropriate for undergraduate research.