Please am working on my product landing page from freecodecamp, and i was asked; When I click the
element, the email is submitted to a static page (use this mock URL: https://www.freecodecamp.com/email-submit
) that confirms the email address was entered and that it posted successfully. but yet still when ever i copy the link there it doesn’t send me to the page.
You do not need an anchor tag for that.
So, get rid of
a tag that you have after submit button.
Put this URL in
action attribute of your form tag and you should be good to go.
Let me know if that helps.
Please i still don’t understand how you want me to go about this.
Do you mean i should write action=“https://www.freecodecamp.com/email-submit” in the form?
Something like this:
Does this help?
It’s giving me the page refused to connect. And i don’t know why?
Can you post the link to your codepen.io page?
This will help us in helping you.
There must be some error then.
For now, you can leave that at that or you can just leave the action attribute blank since this is a static site, submission of the form doesn’t matter.
Hope this helps.
Okay, but it a project from freecodecamp, which i want to submit by tomorrow. So am going to give out how and thanks for the assist.
It’s just a mock URL. As long as all the tests are passing you can submit the project.
Okay, thanks for your contribution.
I really appreciate