function q1() { let txt = $('#input-q1').val(); if (txt == '') { alert('입력하세요') } else {
function q1() { $.ajax({ type: "GET", url: "https://api.thecatapi.com/v1/images/search",