Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lucasbailo/react-challenge

Doing a React challenge to improve my skills
https://github.com/lucasbailo/react-challenge

Last synced: about 1 month ago
JSON representation

Doing a React challenge to improve my skills

Awesome Lists containing this project

README

        

## Welcome to a Front-End Challenge 👋

# Casa das Plantas

## Test the project yourself: [Test the project here!!!](https://react-challenge-red.vercel.app/)

### Full Page

Full Page

## Add your email

Receive an email

## Some code that I'm proud of
```js
const sendEmail = (e) => {
e.preventDefault()

if(invalidEmail !== "" || emptyEmail !== "" ) {
return;
} else {
setAllRight("Email de contato enviado!")
}
alert("Email enviado com sucesso!")

emailjs.sendForm('######', '########', e.target, '############')
.then((response) => {
console.log('Email enviado', response.status, response.text)
setEmail('')
setInvalidEmail('')
setAllRight('')
window.scrollTo({ top: 0, left: 0, behavior: 'smooth' });
}, (err) => {
console.log("ERRO: ", err)
})
}
```

## Built with

- `React Vite`
- [`Ant Design`](https://www.npmjs.com/package/antd)
- [`Axios`](https://www.npmjs.com/package/axios)

## You Can
- See the products;
- Consume an API - product list;
- Check if the email is valid;
- Receive an automatic email.

## Author

- Website - [My GitHub](https://github.com/lucasbailo)
- Frontend Mentor - [@lucasbailo](https://www.frontendmentor.io/profile/lucasbailo)
- Instagram - [@lucassbailo](https://www.instagram.com/lucassbailo/)
- LinkedIn - [Lucas Bailo](https://www.linkedin.com/in/lcsbailo)