Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
422 B
4
Indexable
Never
// Tambahkan kode JavaScript kalian di file ini
function getFormData(){
    return {
        firstName:document.getElementById("first-name").value,
        lastName:document.getElementById("last-name").value,
        city:document.getElementById("city").value,
        zipCode:document.getElementById("zip-code").value,
        check:document.getElementById("check").value
    }

}

console.log(getFormData());