PRT1. Webdev: Coding a commenting system with vanilla JavaScript. HDComments

preview_player
Показать описание
Part one of live coding a universal commenting system called HDComments using HTML, CSS, and vanilla Javascript.

No react or vue, no babel or CSS preprocessors, just good old fashioned optimized and performant code.

The intention is that this type of commenting system can be easily implemented by you into whatever system you have, and I will also be doing a video showing me live coding this into a featured WordPress plugin.

The video really goes over three things.

1) Building out the HTML
2) Styling everything
3) Using JavaScript to validate form data, and create user interactions.

HDComments is SUPER lightweight yet functional, and in its current state after this video, is only ~4.5kb UNcompressed

MY SETUP

So I am currently running Pop!_OS by System76 19.10, which is an Ubuntu Linux derivative. My editor is VSCode, using the new and fantastic Synthwave theme. The only extension of note is Prettier.

Рекомендации по теме
Комментарии
Автор

Helpful video - also it helps me learn when you make silly/small mistakes every now and then, so thanks for leaving them in!

CatholicaTV
Автор

I am learning Javascript, but I have an interview project that demands a simple comment section. So this is just perfect.

thesocialjusticegamer
Автор

Hello! Thanks super nice and clear video. Really nice for learning new things in JS.

ikshvakugarg
Автор

Wow! Super helpful, good guide with clean code.

RusAlex