dwf-desafio-m4's People
dwf-desafio-m4's Issues
Review
Hola @MarianoAguilar13 felicitaciones por tu trabajo, esta buen bien!
Hay algunos detalles que estaría bueno corregir:
El target target="_blank"
se usa más para pages o encales externos (como un enlace a Wikipedia por ejem), en cambio, para un portfolio no que bueno tener que navegar entre ventanas.
A logo del header, podrías ponerle un enlace que nuevamente te lleve a la home:
Al momento de enviar el formulario, no sabes si se envió o si fallo algo
Estaría bueno poner un alert que indique que se envió el form correctamente
fetch("https://apx-api.vercel.app/api/utils/dwf", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
to: "[email protected]",
message:
"nombre: " +
valores.nombre +
"/ email: " +
valores.email +
"/ su mensaje es: " +
valores.msj,
}),
}).then(() => {
alert("El mensaje se envió correctamente!");
}).catch((error) => {
console.log(error);
});
Sería un plus, si luego de enviarse en form se vaciaran todos los campos
Más allá de esos detalles, el desafío cumple con lo pedido, éxitos en lo que sigue!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.