News for hackers. Stuff that matters.
Re:Is there any value in just writing HTML and CSS? by mrsernine on Friday September 15, 2017 @07:21AM (#15256169)
> The reverse isn't true. You can't make a page out of just JavaScript. Even if JS builds your DOM and builds the styles for it (because hey, crazy people have crazy ideas) the DOM and styles are still HTML + CSS. You still need to know what the JS should build.

Not exactly true. Some frameworks (like DHTMLX) allows one to generate forms, pages, images and even complex UI layouts with just code and without a single line of html or css.

Re:Is there any value in just writing HTML and CSS? by krapp on Saturday September 16, 2017 @06:20PM (#15267080)
That javascript still must, at some point, no matter how complex, abstract or fancy it is, either call document.createElement or element.innerHTML.

Although I concede it's arguable whether or not this still counts as "just javascript," it's still true that, in the end, you wind up with just HTML, either machine generated or human generated.

Re:Is there any value in just writing HTML and CSS? by mrsernine on Monday September 18, 2017 @04:01AM (#15274109)
Yes, in the end you end up with just HTML and CSS, but the library abstracts the developer away so well, he doesn't need to know about the DOM.

I'm not saying this is a perfect situation, but the truth is that html and css skills are somewhat less valuable for a web developer nowadays.

Just an example, this UI takes 35 lines of javascript code to be created using DHTMLX:

https://dhtmlx.com/docs/products/visualDesigner/live/?previe...

for those who want to play around:

https://dhtmlx.com/docs/products/visualDesigner/live/#c403w3