C# Script error Hack and Slash tutorial.

Hello
Yesterday I have starded a hack n slash tutorial with BurgZerg Arcade, and before 6th I hadnt had any problems. The tutorial is quite old, and now i dont know if it is my, burgzerg, or program fault. I would be grateful if you could help me with this piece of code.

using UnityEngine;
using System.Collections;

public class PlayerAttack : MonoBehaviour {
	public GameObject target;
	public float attackTimer;
	public float coolDown;

	// Use this for initialization
	void Start () {
		attackTimer = 0;
		coolDown = 2.0f;
	}
	
	// Update is called once per frame
	void Update () {
		if(attackTimer > 0)
			attackTimer -= Time.deltaTime;

		if(attackTimer < 0)
			attackTimer = 0;

		if(Input.GetKeyUp(KeyCode.F)) {
			if(attackTimer == 0)
				Attack();
				attackTimer = coolDown;
			}
		}
	}

private void Attack() {
			float distance = Vector3.Distance(target.transform.position, transform.position);

			Vector3 dir = (target.transform.position - transform.position).normalized;

			float direction = Vector3.Dot(dir, transform.forward);

		Debug.Log(direction);

		if(distance < 2.5f) {
			if(direction > 0) {
				EnemyHealth eh = (EnemyHealth)target.GetComponent("EnemyHealth");
				eh.AddjustCurrentHealth(-10);
			}		
		}	
	}

Thank you.

What is the error?

In line

private void Attack() {

it shows me CS1518

if(Input.GetKeyUp(KeyCode.F)) {
    if(attackTimer == 0)
        Attack();
        attackTimer = coolDown;
    }
}

You never created an opening curly bracket after

if(attackTimer == 0)