请在浏览器中使用JS列表列表&没有数据库
标题所描述的几乎。我需要为工作面试构建一个TODO应用程序,但是必须在浏览器中禁用JS,而不是使用数据库。
任何JS都必须在服务器端完成。 我对节点/express有一个初学者的掌握,并且知道如何使用HTML文件,但是我不确定如何使用没有JS DOM操作的用户输入来更新HTML。解决这个问题的合理方法是什么?
Pretty much what the title describes. I need to build a todo app for a job interview, but js must be disabled in the browser, and not using a database.
Any js must be done on the server side.
I have a beginner grasp on node/express and know how to serve html files, but I’m not sure how to go about updating the html with user input without js Dom manipulation. What would be a reasonable approach to this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想您可以在表单的帮助下将数据发送到服务器(因此不需要客户端js),并将服务器从服务器提供静态HTML页面到客户端。
I suppose you could send data to the server with the help of forms (so no client side js required) and serve static html pages from the server to the client.