Variable not recognized

I’m writing an attack script, but for some reason my SwingTime variable gets CS0103 errors.

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

public class AttackControls : MonoBehaviour {

	public GameObject Sword;
	public float SlingSpeed;
	public float SwingTime = 10;
	public float STLength;

	void Awake () {
		SlingSpeed = Time.deltaTime * 100;
	}
	
	void Update () {
		if(Input.GetKeyDown(KeyCode.R) && SwingTime == 0){
			SwingTime = STLength;
		}
		if(SwingTime > 0){	
			Sword.transform.Rotate(Vector3.back * SlingSpeed);
			Swingtime -= Time.deltaTime; //CS0103 No. 1
		}
		if(Swingtime < 0){ //CS0103 No. 2
				SwingTime = 0;
		}
	}
}

Capitalization is wrong, should be capital T (Swingtime should be SwingTime)

Capitalization is wrong, should be capital T (Swingtime should be SwingTime)