Not bad, not bad.
We've got our setup, so now let's talk about the API we're going to use and for this project we're
going to use API by the name of Open Trivia DB and you can simply type open CD and be so open to Revere
database and just follow the link that the API we're going to use and just navigate to API page.
And here we have an option of constructing the URL.
So what's really cool about this API is that you can construct the example API and of course we'll use
that as our starting point.
And I would strongly suggest doing the same thing because even though during our app, eventually we
will construct this URL dynamically using these checkboxes.
And you can clearly see that because we have similar questions to the ones that you can find in the
API.
But in fact, we'll start our application by working on the questions.
So I would want to add that set up form at the very end.
So essentially what I'm trying to say is we all need some data, we'll need some questions.
So, of course, we can set up these questions and answers.
And that's why I would strongly suggest navigating to the API and constructing this.
You are with me now.
It doesn't really matter what questions are you picking or categories, but I would suggest going the
same background as me because it's just going to be easier to follow.
So I'm going to go with a number of questions.
I'm going to go with sports because even though I'll fail in all of them, I think sports is somewhat
easier for me.
Then I'm going to go with difficulty.
I'm just going to go easy as far as the type.
I'm going to go with multiple choice and we don't really care about the encoding.
So just go with default and I'm going to generate the URL.
And just copy and paste and open up a new tab and try it out, whether it works and what you should
see is an object and the object, of course, we have or is key and it is an array.
And there I have my 10 questions again.
Later we'll set it up that you can have a hundred questions or 50 or whatever in this case, or just
go with default then.
And here you can see that in the object.
I have a category.
I have type.
So what is the type of the question?
And in this case, of course, all of them are going to be multiple because that's what I chose.
And we also have the difficulty, of course, which is easy question.
So that's the actual question.
And what is the correct answer, plus the incorrect answers in the array.
So that should be the starting point.
And what I would suggest is taking this whole YORO that navigate back to the project in the context
and notice here where I have the URL.
Well, let's just call this temp URL because again, eventually, yes, we'll construct it ourselves.
But for the time being, we need those questions with those answers.
So we need some data to work with and then eventually set up our form that generates that you are all
for us.
So grab the URL, copy paste, set up some kind of horrible markers that is temporary, you R-AL and
paste this value and once you're done with that.
Then, of course, we can continue with our application.