I have two errors i cant do

I am beginner in doing scripts and i cant figure how to do those ERRORS

im getting:
------------------------------------------------------------------------------------------------------------------------------------------(14,9)BCCE0044: expecting }, found ‘else’.-----------------------------------------------------------------------------------------(18,9)BCCE0044: expecting EOF, found ‘else’.------------------------------------------------------------------------------------

#pragma strict

var moveUp : KeyCode;
var moveDown : KeyCode;

var speed : float = 10;

function Update () 
{
	if (Input.GetKey(moveUp));
	{
		
	}
	else if (Input.GetKey(moveDown));
	{
		
	}
	else
	{
		
	}
}

You should really spend some time learning to code outside of unity. I’d suggest code academy, as they have really good explanations of coding.

With that said, you don’t need semicolons after the conditions:

    if (Input.GetKey(moveUp))
    {
 
    }
    else if (Input.GetKey(moveDown))
    {
 
    }
    else
    {
 
    }