JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" value="N/A">
<input type="text" value="N/A">
<input type="text" value="N/A">
<input type="text" value="N/A">
<input type="text" value="N/A">
<input type="text" value="N/A">
<input type="text" value="N/A">
<input type="text" value="N/A">

CSS

input {
    display: block;
    margin-bottom: 10px;
}

JavaScript

function onFocus() {
    var elements = document.getElementsByTagName("input");
    for(var i=0; i < elements.length; i++){
        
        elements[i].onfocus = function() {
            if(this.value === "N/A"){
                this.value = "";
            }
        };
        
        elements[i].onblur = function() {
            if(this.value === ""){
                this.value = "N/A";
            }
        };
        
    }
};
onFocus();