Wheel rotation doesn't respond to inputs

ive used some basic assets from unity to try and expand from it and wanted to have whenever i move forward the wheels would move too and i used this code:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class WheelSpin : MonoBehaviour
{
public float spinSpeed = 120.0f;
private float rotationInput;
// Start is called before the first frame update
void Start()
{

}

// Update is called once per frame
void Update()
{
rotationInput = Input.GetAxis(“Vertical”);

transform.Rotate(-25, 0, 0 * Time.deltaTime * spinSpeed * rotationInput);

}
}

and whenever i start it it would just spin even without inputs and then i tried moving it from -25, 0, 0 to 0, 0, -25 and it works but the problem is that it would spin the wrong direction.

Because you are multiplying the Z component by 0.