Commit c057b0e2 by Joel Florentin

se eliminaron console.logs

parent b4fafd3a
...@@ -40,7 +40,6 @@ function agregarFieldExpierncia(){ ...@@ -40,7 +40,6 @@ function agregarFieldExpierncia(){
function eliminarExperiencia(event) { function eliminarExperiencia(event) {
//eliminar del array //eliminar del array
console.log(event.target.parentElement.id.split("-")[1])
experiencias[event.target.parentElement.id.split("-")[1]]=null experiencias[event.target.parentElement.id.split("-")[1]]=null
//eliminar en html //eliminar en html
event.target.parentElement.remove() event.target.parentElement.remove()
...@@ -87,7 +86,6 @@ form.addEventListener("submit",(evt)=>{ ...@@ -87,7 +86,6 @@ form.addEventListener("submit",(evt)=>{
postData('postulante', serializeJSON(form)) postData('postulante', serializeJSON(form))
.then(response => { .then(response => {
console.log(response); // JSON data parsed by `data.json()` call
location.replace(response.url); location.replace(response.url);
}); });
evt.preventDefault(); evt.preventDefault();
......
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<title>Hello, world!</title> <title>Postulante</title>
</head> </head>
<body class="container"> <body class="container">
<h1>Hello, world!</h1> <h1>Curriculum</h1>
<form name="postulante" method="post"> <form name="postulante" method="post">
<div class="mb-3 col-5"> <div class="mb-3 col-5">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment