Can not change cell from blue to green

I’ve never used Jupyter notebook before and recently downloaded as part of an online program. I’m told to switch the cell from navigating mode (blue) to editing mode (green), I hit “Enter” in the cell. However, that is not working, it just drops down a line and expands the cell. I’ve tried shift Enter as well. See attached pictures. Anyone know what I’m doing wrong? Please help.

You are using outdated information. Your screenshot is from Jupyter Notebook 7+ and the colors don’t change in that way between Edit Mode and Command mode now.
Sadly, I cannot point to good current documentation at this time.
I wrote about this back in June that the Jupyter Notebook documentation here still references images taken from the older version of Jupyter Notebook, now referenced as NbClassic.

You can see for example in the screenshot you include there is no In to the left of the brackets where the number will appear after you actually execute the code in the cell. (The number in the brackets will be 1 is this is the first cell you have executed and increase from there.) Here in the image of the documentation I clipped in June, which remains the current version I am still seeing today in December, there is the In seen to the left of the brackets, indicating the image is from the older 6.4/NbClassic version of Jupyter Notebook.

Since you are new, I’ll quote here this advice I put in that longer post:

First let me say thank you so much for responding! And I apologize if I have follow up questions. Like I said, I’m following an online program that shows/reads hitting enter will change the cell green and then hitting esc will turn it back blue. If I’m understanding you correctly, it doesn’t work that way any more? If that is the case how do I switch back and forth from command to edit and vice versa?

1 Like

The specific color indicators don’t work that way anymore.
The ways to change mode work much the same way as noted.

Click inside a cell to enter the editing mode. The active cell box will acquire a blue highlight around it.

Enter command mode by pressing Esc or using the mouse to click outside a cell’s editor area. The code cells will not have any blue lines around them and instead will all appear gray.

1 Like

I see. Thank you so much for the clarification on this.

2 Likes