Before heading into exercises let me give you a brief idea on how the coding exercises work
in this course and this is the same way it works for the rest of the course.
So it's good to have an idea on how to work with the coding exercises.
So at the end of this video, on clicking the Continue button you will be automatically taken to the coding
exercises section.
The coding exercises section as you can see consists of three different parts.
The area at the top here is where your question is, this is where you have given instructions on your
task.
On the left side here you can see two different files.
You will always see two or more files here.
The first and the default file is called exercise.rb
This file is never used.
So you can see a temporary banner put here.
We never actually use this file.
If you look at the note here you can see that this file is not used. Do not type in your solution in
this file and you must always use the edges in .yml or .txt file.
So we will be working with two types of files.
One is the .txt file which we will use for ansible inventory files.
The other is the .yml file which is what we will be working with
most of the time and that is the ansible playbook files. So never write anything into the exercise.rb
Switch over to the food.yml file in this case.
And if you look at the instructions you can see that the instruction is to Update food.yml file
to add a vegitable carrot.
So there are currently three types already.
So create a new entry here called Vegetable and enter the name of the vegetable in this case carrot.
Now if you look at the bottom right corner you will see there are two buttons.
Click on the check solution button and it will check for your answer and you must ensure that your answer
is right.
In this case I got an error because I typed in the spelling for Vegetable wrong.
I'm going to correct that.
Click on it again and you should see that your solution is correct.
So you can then click on the Continue button to go over to the second exercise.
So this way you can go over all exercises until they are complete and if you have any questions about
any of these exercises or if you find any issues with any of these exercises feel free to
reach out to me.
Click on the browse Q&A button and then click on the Ask a new question button to ask a new question
and I will make sure to reply to it as soon as possible. So go through the exercises let me know what
you think.
So good luck.