How to create a child theme for WordPress sites

There are many reasons why WordPress developers use child themes for even minor changes, as there are many examples that we would like to change the color of the theme, the size of the font, the layout, possibly using a separate call for actions like buttons, etc. the problem is that modifying a parent theme parent theme still prevents you from updating to a later version in the future because you will miss any changes when you try to update. The child theme solves this issue by activating all the functions of the selected theme. You can update it without losing any changes. It is ideal for beginners who want to create and play their own themes.