Design comparison
SolutionDesign
Solution retrospective
This is my first project using js. I think , I kind of completed it Actually I have a lot to ask let me ask some of them
- how to prevent forms from submitting 2.I don't know why I cant fetch my id from html element. No issues on console any suggestion please comment below
Community feedback
- @srikartopellaPosted over 3 years ago
in callback function while writing addEventListener for button give 'e' parameter and first line of that function should be e.preventDefault();
it looks something like this
someBtn.addEventListener("click", e => { e.preventDefault(): });
note:- someBtn should be inside form element
2@srikartopellaPosted over 3 years agoBtw, just found an issue. In navbar, give margin to those links instead of padding so that when hovering either sides of those links they will not get effected.
0
Please log in to post a comment
Log in with GitHubJoin 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