You have obviously modified /etc/dhcpcd.conf which is presumably the cause of your problem; either the contents are corrupt or the permissions wrong.
As you have not explained what you did or shown the contents or permissions and obscured relevant details it is difficult to make any concrete suggestions.
You should restore /etc/dhcpcd.conf to its default. (It is best practice to ALWAYS make a backup copy of systems files before modifying them.)
If you can not do this, either restore from your backup or do a fresh installation - preferably NOT using NOOBS
NOOBS contains instructions for installation.
Judging from the fragments that are visible, you appear to have attempted to set a Static IP Address. This is not recommended in most cases, but if you want to
How to set up Static IP Address explains alternatives and instructions on how to do it properly.
How to set up networking/WiFi is a more general guide to configuring Raspbian networking.
PS It is recommended that when editing system files you use sudoedit rather than sudo nano.