here is what i have so far:
function inheritance(){
var max = 9;
var count;
//this is where you enter the check amount
var input = document.getElementById("check").value;
var amount = input.length;
for(amount >= 0; amount < max; ++amount){
if( amount < max){
count = max - amount;
}
document.write("*");
}