Responsive Mobile-first - contact-form

Solution retrospective
I would be very grateful for any help with my code on this one. The radio query bit is not working. I get the error text to come up but I can't get it to remove once I have selected a button.
When I do this: - I get null - const queryType = document.querySelector( 'form .query-container .query-inputs input[name="query"]:checked' ); console.log(queryType); //this gives me null
Also I can't get the message box to appear once the form is completed correctly yet I know it works because if I put: if(!isValid) it does come up.
I am going to continue to try to fix whatever I have done wrong but I thought it would be no harm to ask for help in the meantime even though it makes me feel a bit of a loser :(
Thanks in advance :)
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Barbara Ward's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord