My assignment is to make all p class="fan" editable, with a save button and a cancel button. I am only allowed to use Javascript.

I have read all the schoolbooks and searched the internet for hours. I made a few attemps but they... well they failed hard. Could someone just point me in the right direction pls ....