My code won't upload to the board.

Hey guys, just installed the arduino software on my computer, so I am a bit of a noob. I am trying to upload some code that a friend gave to me for a project, but it won't upload. Here is the error message :

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 5760 bytes (17%) of program storage space. Maximum is 32256 bytes.
Global variables use 266 bytes (12%) of dynamic memory, leaving 1782 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x62
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x62
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I am in a really tight spot, so respond to this post asap! Thanks for the support!

Here is the code, I forgot to include it :

#include <Adafruit_NeoPixel.h>
#ifdef AVR
#include <avr/power.h>
#endif

#define PIN 8

Adafruit_NeoPixel strip = Adafruit_NeoPixel(50, PIN, NEO_GRB + NEO_KHZ800);

void setup() {
strip.begin();
strip.show(); // Initialize all pixels to 'off'

colorWipe(strip.Color(244, 220, 66), 50); // Wipe all the LEDs to make sure they work

delay(1000);

colorWipe(strip.Color(0, 0, 0), 0); // Turn everything off
}

void loop() {
String displayWord = "merrychristmasrun"; // Use lowercase
String alphabet = "abcdefghqponmlkjixrstuvwxyz";

// Turn on individual lights
for (int i = 0; i < displayWord.length(); i++) {
// Turn on light
strip.setPixelColor(alphabet.indexOf(displayWord_)*2, strip.Color(random(0, 250), random(0, 250), random(0, 250)));_

  • strip.show();*
  • delay(1500);*
  • // Turn off light*
    strip.setPixelColor(alphabet.indexOf(displayWord_)2, strip.Color(0, 0, 0));_
    _
    }_
    _
    // Turn on all the lights for the word*_
    * allTurn(displayWord, strip.Color(random(0, 250), random(0, 250), random(0, 250)), alphabet);*
    * delay(2000);*
    * // Turn off all the lights for the word*
    * allTurn(displayWord, strip.Color(0, 0, 0), alphabet);*
    * delay(2000);*
    }
    void allTurn(String str, uint32_t c, String alphabet){
    * for (int i = 0; i < str.length(); i++) {*
    _ Serial.print(str*);
    Serial.print(alphabet.indexOf(str));
    // Turn on light*

    strip.setPixelColor(alphabet.indexOf(str)2, c);
    strip.show();
    }
    }
    // Fill the dots one after the other with a color*

    void colorWipe(uint32_t c, uint8_t wait) {
    * for(uint16_t i=0; i<strip.numPixels(); i++) {*
    * strip.setPixelColor(i, c);
    strip.show();
    delay(wait);
    }
    }*_