Code is not working

i wrote the exactly same code as as show in video of deletion of element in link list but it giving error

@Himanshu0123
You made 2-3 minor mistakes while copying the code.

  1. Remove Line No. 86.
  2. Add a semicolon at Line No, 105

if i would delete line no 86 how would i get value i mean function will not return anything and at 105 i defined a function how could i add semicolon at that position there is no option for that