Adrian• 270
@EidrianMax
Submitted
@EidrianMax
@EidrianMax
Submitted
@EidrianMax
Posted
I do not fully understand the question, but if you want to return the email that was given as successful, you can save it in a variable when you submit the form and then paint it in the ui.
form.addEventListener('submit', (event) => {
event.preventDefault()
validateEmail(email.value)
// save email
const emailSuccess = email.value
// then print in ui
feedback.textContent = emailSuccess
})
@EidrianMax
Submitted
Hello 👋.
This is my first project for Frontend Mentor.
I made it with BEM methodology.
For the layout i use Flexbox.
If anyone finds any mistakes, bugs or code improve, let me know.
@EidrianMax
Posted
Hello @vcarames thank you for your feedback.
I will start to use em in media queries.