In led code error is coming.
the code is case sensitive 1st check the code properly digitalWrite is spelled wrong correct it and try it again
Check out voltage…