Error CS1513 } expected

Here’s my code. I’m a complete newbie obviously.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Movement : MonoBehaviour {
private float speed = 2.0f;
public GameObject character;

void Update () {

        if (Input.GetKey(KeyCode.RightArrow)){
            transform.position += Vector3.right * 2.0 * Time.deltaTime;
        }
        if (Input.GetKey(KeyCode.LeftArrow)){
            transform.position += Vector3.left * 2.0 * Time.deltaTime;
        }

}

Full report:

[19:49:45] Assets\Movement.cs(18,2): error CS1513: } expected

Add ‘}’ on line 18, as the compiler expects.

Pls someone help me i dont know what to do heres my c# script for player movement, pls help me

using UnityEngine;
public class PlayerMovement : MonoBehaviour
public CharacterController controller;
public float speed = 12f;
// Update is called once per frame
void Update()
{
float x = Input.GetAxis(“Horizontal”);
float z = Input.GetAxis(“Vertical”);
Vector3 move = transform.right * x + transform.forward * z;
controller.Move(move * speed * Time.deltaTime);
}
}

error = Assets\PlayerMovement.cs(3,48): error CS1513: } expected09