TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Resources to learn vanilla web programming in 2023?

9 点作者 newsoul将近 2 年前
I want to learn web programming. Mostly because I will have the full stack to express myself starting from the UI to the functionality (backend).<p>But, I don&#x27;t want to start with frameworks. I want to learn vanilla HTML, CS, JS. Frameworks hide many things. I know the DOM is a structured form of data. I want full control through vanilla JS to manipulate and bend that structure at my will.<p>Where to learn that from? Also I believe learning in this way will give me more understanding about JS frameworks when I study their source code.

5 条评论

turtleyacht将近 2 年前
Any post or article where the author is like &quot;Let&#x27;s build a React&quot; may emphasize vanilla JS. For example,<p><i>HEX: a No-Framework Approach to Building Modern Web Apps</i> (2017)<p><a href="https:&#x2F;&#x2F;medium.com&#x2F;@metapgmr&#x2F;hex-a-no-framework-approach-to-building-modern-web-apps-e43f74190b9c" rel="nofollow noreferrer">https:&#x2F;&#x2F;medium.com&#x2F;@metapgmr&#x2F;hex-a-no-framework-approach-to-...</a><p>Manning has <i>Build a Web Framework (From Scratch)</i> in its Manning Early Access Program (MEAP):<p><a href="https:&#x2F;&#x2F;www.manning.com&#x2F;books&#x2F;build-a-frontend-web-framework-from-scratch" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.manning.com&#x2F;books&#x2F;build-a-frontend-web-framework...</a><p>Web Components are a neat way to have &lt;custom-tag &#x2F;&gt; stuff controlled by CSS. But you can forego that and use (BEM-named) values in class attributes.<p>Even just `document.querySelector` and `.querySelectorAll` gives some idea of vanilla JS. There&#x27;s also (tongue-in-cheek)<p><a href="http:&#x2F;&#x2F;vanilla-js.com&#x2F;" rel="nofollow noreferrer">http:&#x2F;&#x2F;vanilla-js.com&#x2F;</a><p>This book for writing Javascript may still be relevant:<p><i>Reliable Javascript: How to Code Safely in the World&#x27;s Most Dangerous Language</i> (2015)<p>Hmm, code samples are no longer easily available. I would love to share it if Wrox Press (formerly) were cool with it.<p>And then there&#x27;s places like Mozilla Developer Network (MDN):<p><a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;</a><p>You mentioned backend. With just Node.js, you&#x27;re technically running vanilla JS there too.
he11ow将近 2 年前
I&#x27;ve tried every shortcut possible only to realize the long way is the short way.<p>Sign up to a Udemy web-development bootcamp. Take it class by class by class. It won&#x27;t necessarily be quick. Some things won&#x27;t work, because things will have changed since the bootcamp was recorded - that&#x27;s practice onto itself in how to fix things - and the Q&amp;As on Udemy courses are very good for that. Afterwards, sign up to an intermediate course that actually builds a project in a given framework. It doesn&#x27;t matter which, because once you know one, it&#x27;s a lot easier to contextualize a different one. Anyhow, the framework doesn&#x27;t matter, at least not for the first year or two; being able to create and ship something does.
owenpalmer将近 2 年前
Your plan is solid, but I find your question a bit silly. It doesn&#x27;t really matter where you learn these things. Just google it and click on the first page that isn&#x27;t trying to sell you something.
newoldhead将近 2 年前
HTML, CSS and at least the basics of JS can be learned for free from codeacademy. Once you have those, code a website for yourself so you get how they work. Shouldn&#x27;t take more than a week to finish this if you&#x27;re dedicated.
schwartzworld将近 2 年前
MDN has amazing documentation and is exactly what you&#x27;re asking for.
评论 #36677767 未加载