Before we continue developing
our first Next.js app,
I want to quickly show you
where you can find the source code for this example,
because this can help you if you have any problems
while following along with the videos.
If you look at the resources for this lecture,
you'll find a link to a GitHub repository,
that contains all the code
for the Next Blog example.
Now, what you see here is the final code;
what you should end up with
once you follow all the videos up to Section 6.
But you may want to check what the code should be
at the end of a specific lecture.
You can easily do that
by looking at the "commits".
This page shows all the commits,
but they are in reverse chronological order,
which means that the first commit
will be at the very bottom.
Now, each commit corresponds to
a lecture in the course,
and in fact the commit message
is the same as the lecture title.
For example, the very first commit,
which is the one at the bottom,
says "Next.js Project Setup",
that is exactly the same text
as the title of the previous lecture.
Now, in this case it's easy because
it's also the very first commit,
but for any lecture you can simply
go to this page and search for the title,
like "project setup",
and you'll find the right commit.
You can then simply click on that commit
and this will show you
all the changes made in that lecture.
For example here we can see the code
for the "index.js" page
we wrote in the previous video.
So if you're following along with the example
but for some reason something is not working for you
you can look at this diff page
to quickly check if the changes you made
are exactly the same as shown here.
If you want to see all the files
rather than just what's changed
you can click this "Browse files" button
and this will show you the entire project
as it should be at the end of a specific lecture.
This way you can check the code
for an entire file for example,
rather than just a diff.
If you want to download the entire project
to your machine, you can also do that,
for example by downloading it as a ZIP file.
If you're familiar with Git
you can also use the Git command line tool,
or some other Git client.
So if you run into any errors
while developing the project on your machine
please try the code in this repository
and see if this one works,
and in that case find out what's different
in your own code.
If this doesn't solve your problem,
or if you have some other doubts about a lecture
please check the "Q&A" tab
for that specific lecture.
Here you'll see questions asked by other students,
and you may be able to find something
that already solves your problem,
or answers your doubts.
If you cannot find an existing answer
you can always ask a question yourself,
that would be about the "Course content",
and here you can post your question.
If you do so please provide
as much information as possible.
You can paste code in here,
you can add screenshots
by clicking the picture icon, and so on.
The more details you give me
and the more likely it is that
I may be able to help you.
I do try to answer all questions,
as long as they're about the course,
but please keep in mind that
it can take me up to 24 hours to answer.
That's another reason why it's a good idea
to check the code in this repository first,
because this way you may be able
to find a solution more quickly.
And of course you can also use this code
as a starting point for your own projects
if you want to.