Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Penpot, Open Source Figma alternative, raises $8M in funding. Parent comment
(let [element (dom/createDom "div" "some-class" "Hello, World!")] (classes/enable element "another-class" true) (-> (dom/getDocument) .-body (dom/appendChild element)) (doto (Timer. 1000) (events/listen "tick" #(.warn js/console "still here!")) (.start)))
How is that even workable? And that's just an HTML fancy hello world.
(let [element (dom/createDom "div" "some-class" "Hello, World!")] (classes/enable element "another-class" true) (-> (dom/getDocument) .-body (dom/appendChild element)) (doto (Timer. 1000) (events/listen "tick" #(.warn js/console "still here!")) (.start)))
How is that even workable? And that's just an HTML fancy hello world.