I’m not sure why my I can’t pass this test. I’m required to create a form element with a corresponding form ID, which I believe I have done correctly. But I still can’t seem to pass the test. I’ve gone through my code like 20 times and I haven’t found the error. Could someone please help me.
Here’s the link to the challenge: https://codepen.io/mmwita01/pen/dyZmPRX?editors=1100Product Landing Page Challenge
You didn’t close the iframe correctly before the form element. You have other errors in the HTML.
I would suggest switching the Syntax Highlighting on Codepen. It will help catch syntax errors.
Go to your Codepen profile settings. Under “Editor Preferences” switch the Syntax Highlighting to Oceanic Dark and save the setting. Go back to the pen and make sure your new setting is working, the code highlighting will be using different colors. If there are issues you should see code marked in red. That is the new Syntax Highlighting showing you where the problems are.
Press the down arrow to the right of the code boxes and select the “Analyze” option. You can also use a validator tool.
Thank you! I caught the errors after changing my settings. Really appreciate it!