Getting a couple 'Invalid Token' errors

I am following a youtube guide and I hit a point where im getting a few errors that he’s not getting or even mentioned and Im not sure why. I am very new to unity and coding, any advice?

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

public class ThirdPersonMovement : MonoBehaviour
{
public CharacterController controller;

public Transform = cam;

public float speed = 6f;

public float turnspeed= 0.1f;
float turnSmoothVelocity;

// Update is called once per frame
void Update()
{
    float horizontal = Input.GetAxisRaw("Horizontal");
    float vertical = Input.GetAxisRaw("Vertical");
    Vector3 direction = new Vector3(horizontal, 0f, vertical).normalized;

    if(direction.magnitude >= 0.1f)
    {
        float targetAngle = Mathf.Atan2(direction.x, direction.z) * Mathf.Rad2Deg + cam.eulerAngles.y;
        float angle = Mathf.SmoothDampAngle(transform.eulerAngles.y, targetAngle, ref turnSmoothVelocity, turnspeed);
        transform.rotation = Quaternion.Euler(0f, angle, 0f);
        // Vector3 movedir = Quaternion.Euler(0f, targetAngle, 0f) * Vector3.forward;
        controller.Move(direction * speed * Time.deltaTime);    
    }
}

}