Card Template has a problem

Was having problem with Anki cards in that when I tried to study, they were appearing in reverse with answer card showing first. I repeatedly tried to fix the problem to no avail. Out of desperation, I tried modifying the actual card template and now get an error message when I try to study my cards: “Card template has a problem” Then: Front template has a problem:
Found ‘⁨{{front}}⁩’, but there is no field called ‘⁨front⁩’
More information
Same for the back template which I changed as well. Help! Can anyone send me the original code to replace? What do I do to fix this mess?

The field is called Front with a capital F. If you didn’t change the field names, fixing that typo should be all you have to do.

Thank you! That was very helpful! It now works but there is another problem. When I try to study, I get the front card no problem. However, when I ask for the answer, I get the following instead of the answer.
{FrontSide}
{Back}

How do I fix this?

Thank you!

You can change the back of your template to

{{FrontSide}}
<hr id=answer>
{{Back}}

which is the default. Note how the special names are wrapped in two pairs of braces!

Thank you!

It worked! You are a lifesaver! Thank you!