mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): change card and cvv input types to text (#61827)
Some checks failed
i18n - Build Validation / Validate i18n Builds (22) (push) Has been cancelled
CI - Node.js / Lint (22) (push) Has been cancelled
CI - Node.js / Build (22) (push) Has been cancelled
CI - Node.js / Test (22) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (22) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 22) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 22) (push) Has been cancelled
i18n - Download Client UI / Client (push) Has been cancelled
Some checks failed
i18n - Build Validation / Validate i18n Builds (22) (push) Has been cancelled
CI - Node.js / Lint (22) (push) Has been cancelled
CI - Node.js / Build (22) (push) Has been cancelled
CI - Node.js / Test (22) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (22) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 22) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 22) (push) Has been cancelled
i18n - Download Client UI / Client (push) Has been cancelled
This commit is contained in:
parent
95263efc12
commit
0741793ceb
@ -157,7 +157,7 @@ assert.isAtLeast(requiredInputs?.length, 2)
|
||||
</div>
|
||||
<div>
|
||||
<label for="card-number">Card Number</label>
|
||||
<input type="number" id="card-number" name="card-number" required aria-required="true">
|
||||
<input type="text" id="card-number" name="card-number" required aria-required="true">
|
||||
</div>
|
||||
<div>
|
||||
<label for="expiry-date">Expiry Date</label>
|
||||
@ -165,7 +165,7 @@ assert.isAtLeast(requiredInputs?.length, 2)
|
||||
</div>
|
||||
<div>
|
||||
<label for="cvv">CVV</label>
|
||||
<input type="number" id="cvv" name="cvv" required aria-required="true" aria-label="Card Verification Value">
|
||||
<input type="text" id="cvv" name="cvv" required aria-required="true" aria-label="Card Verification Value">
|
||||
</div>
|
||||
<input type="submit" value="Place Order">
|
||||
</form>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user