ADD previous and next buttons(title links) to pages like the ones in post pages without plugin

Hey,
I want to add previous and next (title links) to pages also, so that on pages also one can go to the next page or previous page.(Without plugin)
They already appear for post pages at the bottom
I have the child theme installed.

It should appear at the bottom of the page similar to one shown below:-

<–Title name of previous page Title name of next page–>

Hey,
It is done!
I found a way to do it!
Thank you.