0
Is this code correct
5 Answers
+ 2
You're getting a superfluous space in b2, which will interfere with your value. This is how it renders:
<form method="get">
<input type="text" name="b1">
<input type="submit" value="move" name="move">
<input type="text" value=" " name="b2">
</form>
You can test method="post" on a public echo server, as I do here:
https://code.sololearn.com/wubNMMMp8mYA/?ref=app
+ 1
Should work. A lot of better ways of going about that task, but I assume you're just practicing something in particular. Hard to test that type of code on SoloLearn, but it looks fine at first glance.
+ 1
Then run it on your computer (or server) and see how it goes. I'm not personally going to do that for you, but I did look at it, and the code looks fine. You can't submit forms like that in the SoloLearn area, for the obvious security reasons.
0
thank you but i want to whether the code is absolute
0
thank you for you kind co operation