DEV Community

Discussion on: Building a GIF search Engine in just 10 mins

Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

It would have been better to use a form - this way you would only need handle the submit event - rather than separate code for text field keypress and button click. Much simpler, probably more accessible too.

Also, in your code samples you can use syntax highlighting by writing html, js etc. after the opening three backticks of the code section 👍

Collapse
 
kumarkalyan profile image
Kumar Kalyan

well, that's a good idea , I will implement this in my next article