I didn’t install contact form 7 before I installed the demo content.
Could this be the reason?
Yes, this is the reason.
Now activate the contact form 7, create a form in it and configure it to display on your site by editing the content element as shown in the attached screenshot.