Spongebob Posted August 18, 2020 Share Posted August 18, 2020 Line 24 of the script: <p><label for="gender">Gender: </label><input type="radio" name="gender" value="M"> Male <input type="radio" name="gender" value="F"> Female</p> Generates two - "Missing associated label" warnings and one "invalid id reference" error when using JetBrains PHPStorm 2020.2. Why and how can this be corrected? Despite the warnings and error messages, the script functions correctly. Thank you! Link to comment Share on other sites More sharing options...
Larry Posted August 19, 2020 Share Posted August 19, 2020 I haven't used PHPStorm in a long while, so I'm not positive but maybe adding id="gender" to both of the inputs would solve it. Link to comment Share on other sites More sharing options...
Recommended Posts