Commit c057b0e2 by Joel Florentin

se eliminaron console.logs

parent b4fafd3a
......@@ -40,7 +40,6 @@ function agregarFieldExpierncia(){
function eliminarExperiencia(event) {
//eliminar del array
console.log(event.target.parentElement.id.split("-")[1])
experiencias[event.target.parentElement.id.split("-")[1]]=null
//eliminar en html
event.target.parentElement.remove()
......@@ -87,7 +86,6 @@ form.addEventListener("submit",(evt)=>{
postData('postulante', serializeJSON(form))
.then(response => {
console.log(response); // JSON data parsed by `data.json()` call
location.replace(response.url);
});
evt.preventDefault();
......
......@@ -8,10 +8,10 @@
<!-- 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">
<title>Hello, world!</title>
<title>Postulante</title>
</head>
<body class="container">
<h1>Hello, world!</h1>
<h1>Curriculum</h1>
<form name="postulante" method="post">
<div class="mb-3 col-5">
......@@ -74,7 +74,7 @@
Agregar Experiencia
</button>
<div id="experiencias">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
......
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