DEV Community

Discussion on: Do You Really Need JavaScript?

Collapse
 
vlence profile image
Victor Basumatary • Edited

Hi thanks for reading the article and leaving a question. Sorry couldn't get back to you earlier.

Short answer is I don't know, maybe. I've never tried making an auto suggestion feature without JavaScript :D

The point I was making in the article is that you shouldn't build your entire application in JavaScript IF the core features can be implemented without it because otherwise you'll be left with a completely unusable application if JavaScript is unavailable, like in the examples I gave. I think we will both agree that a website which has only the core features working is far better than a wallpaper.

Let's consider your hypothetical scenario. Can we build an auto suggestion feature without JavaScript? Maybe but I don't think it's worth the effort. The core feature of the Google homepage is that you can search, not the auto suggestion. The auto suggestion is nice to have but we can live without it.

Hope that helps.