I want an object to move.

Hey!

i’m new to the whole games development, and this is my first try,I knew how to insert/build objects, but for now i’me trying to make one object move. I did googled about this question, but the answers i found isn’t understandable for my humble programming language. So please if you can help me with a javascript example i would be so grateful.
< assume that my programming skills are 0 <

thanks,

simple script to move object. You need to attach the script to your object.

function Start () {

}

function Update () {
	if(Input.GetKey("w")){ 									//checks if the "w" ke is pressed
		transform.Translate(0, 0, 5 * Time.deltaTime);		//move object forward
	}
	
	if(Input.GetKey("s")){ 									//checks if the "s" ke is pressed
		transform.Translate(0, 0, -5 * Time.deltaTime);		//move object backward
	}
	
	if(Input.GetKey("a")){ 									//checks if the "a" ke is pressed
		transform.Translate(-5 * Time.deltaTime, 0, 0);		//move object to the left
	}
	if(Input.GetKey("d")){ 									//checks if the "d" ke is pressed
		transform.Translate(5 * Time.deltaTime, 0, 0);		//move object to the right
	}
}