+ 1
<form> <input type="radio" id="r1"> <label for="r1">Cash</label> <input type="radio" id="r2"> <label for="r2">Card</labe
what is the missing part from the user?
5 odpowiedzi
+ 7
Don't write code in your question. You should share it as a private code.
https://code.sololearn.com/Wek0V1MyIR2r/?ref=app
+ 4
What is the code missing for the users choices to be sent to the data base?
<form>
<input type="radio" id="r1">
<label for="r1">Cash</label>
<input type="radio" id="r2">
<label for="r2">Card</label>
</form>
Select all correct answers
Option A. Value attribute
Option B. Name attribute
Option C. A Submit button
+ 3
Nothing is missing, you have choosen "radio" as input, so it will show like this🔘
0
Value & submit tag
0
<form>
<input type="radio" id="r1" name="pay"
value="cash">
<label for="r1">Cash</label>
<input type="radio" id="r2" name="pay"
value="card">
<label for="r2">Card</label>
<input type="submit">
</form>