Arduino Networked Lamp Coding Problems

I am currently working on the arduino networked lamp and have completed the code but when I go to check the code, it comes up ERROR 'import' does not name a type can anybody help me with this problem because I've tried re=typing it and everything but still it comes up ERROR. I would really like to finish this project today.

(deleted)