()
| 1 | function handlesearch(){ |
| 2 | var statuscode = document.getElementById("inputcode").value; |
| 3 | if(!statuscode){ |
| 4 | alert("Enter Status Code to Search"); |
| 5 | } |
| 6 | else{ |
| 7 | const url = "https://http.cat/"+statuscode; |
| 8 | document.getElementById("outputimg").src = url; |
| 9 | document.getElementById("inputcode").value=""; |
| 10 | document.getElementById("inputcode").focus(); |
| 11 | } |
| 12 | } |
| 13 |
nothing calls this directly
no outgoing calls
no test coverage detected