Now that the code run you will need to go to the parent theme, then find the header.php.
Copy every code.
Remember the small line of code that created the header.php file in the child theme.
You will need to delete it now as we won't need it anymore.
Click on Editor then select the parent theme, in my case the twenty sixteen theme.
Copy the entire code of the header.php of the parent theme.
It will be used to paste it on header.php file of the child theme.
Paste the code on the text editor. Do not used notepad as it tend to display all the codes in a few line. By using the text editor your will have a proper format to see the code.
Then head to you website root folder for the child theme and see the header.php file.
Right click on the header.php file of the child theme, then click on view/edit.
It will open in notepad, then again copy all the code from the text editor to the empty notepad.
Close and save to continue.
Remember to delete the last line of code in the functions.php file.
Now you have a full functioning child theme with header.php file.