You don't want to make your console's log method equal to anything. That is just overwriting its built in code.
To use console.log, you do it like this: `console.log("your text in here");
Now that you have overwritten the built in code, you will need to reload/refresh the web page to restore it.
I knew so far but I thought it was quite weird why it made my codes give an error message even after deleting the wrong code