Good work! You were able to put together a citation for a book and a journal article. That's the first step in learning the rules for documentation of sources.
But much of the material you'll be using for your research won't be found in paper sources, but online. So, how do you cite that stuff? Let's consider the following scenario.
Bryan is looking for journal articles for his psych paper. He goes to Expanded Academic Index and finds a couple of good ones, and prints them from the database. One of the articles is particularly relevant and he uses information from it in his paper.
To cite this article, he needs the same information that he needed to cite an article from a paper source:
But this isn't all he needs. He has to show that he retrieved the article from a database, because the content could be different from the original printed version. So he has to add some more information to his citation:
So this is what his citation will look like:
Howard, Robert W. "On What Intelligence Is." British Journal of Psychology 84Note that the "location" isn't where Bryan was physically when he was doing his searching, but rather refers to the library that provided the access to him. Even if he was in his dorm room doing his search, he used the UNCG library's website to get to the database, so he cites that library as the "location".