Payment Form Structure Help - VV

Hi There!

Looking for some help and clarification on one of the Web Form sections on Mozilla.

The completed code example looks like this:

While my page looks like this:

Notice the margin issues on the Name, Email, and Password inputs.

This was the code example from the section:

While my code is written like so:

My static page is here:
https://payment-form-structure.glitch.me

It looks like my code is the same but the spacing is off - even if I change the dimensions of my screen, the page doesn’t seem to be reactive.

Is there an error on my end that I’m missing here?

Thank you for looking into this!

Cheers,
Vlad

How to structure a web form MDN link:

Hi @Vladlen_Vronsky

When clicking on the running live link in the article (which uses the current code from Github) the form looks like your code.
The iframe source links to https://live-samples.mdn.mozilla.net/en-US/docs/Learn/Forms/How_to_structure_a_web_form/_sample_.a_payment_form.html that seems to be from an old version of the page.

Could you open an issue on the MDN GitHub to report this problem?

Thanks,
Michael

1 Like

Thank you @mikoMK, just submitted the Issue on GitHub: https://github.com/mdn/learning-area/issues/609

1 Like

Thank you very much. :blush: