Level 7
I think for Sweet alert you need to create the inputs in a slightly different way.
Example:
swal({
content: {
element: "input",
attributes: {
placeholder: "Type your password",
type: "password",
},
},
});
See here: https://sweetalert.js.org/docs/