At this point, you should have a working copy of our Fact skill. In order to make it your own, you will need to customize it with data and responses that you create. Here are the things you will need to change:
New data. You will need to provide a set of facts for your topic. We recommend a minimum of 25, but a total closer to 100 offers a better experience.
Open a copy of index.js. If you haven't already downloaded the code for this project, you can find a copy of index.js here on GitHub. You can use a simple, lightweight code editor like Atom, Sublime Text, or VSCode, but you also have the option to edit the code directly in your Lambda function.
Search for the comment "TODO: Replace this data with your own." This is the data for our skill. You can see that it is a simple list of facts.
When you have replaced the data in index.js, copy the contents of your file to your Lambda function. This should be as simple as copying the text, and pasting it into the code box for your Lambda.
New sentences to respond to your users. There are several sentences and responses that you will want to customize for your skill.
Go back to your copy of index.js.
Look for the comment "TODO: The items below this comment need your attention." This is the beginning of the section where you need to customize several text strings for your skill.
Continue through index.js until you reach the bottom of the file. This will ensure that you cover each of the values that you need to update.
New language. If you are creating this skill for another language other than English, you will need to make sure Alexa's responses are also in that language.