mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 21:43:33 +00:00
minor documentation update
This commit is contained in:
@@ -207,9 +207,10 @@ from the previous section):
|
||||
|
||||
Compile the Nim code to JavaScript with ``nim js -o:calculator.js
|
||||
calculator.nim`` and open ``host.html`` in a browser. If the browser supports
|
||||
javascript, you should see the value ``10``. In JavaScript the `echo proc
|
||||
<system.html#echo>`_ will modify the HTML DOM and append the string. Use the
|
||||
`dom module <dom.html>`_ for specific DOM querying and modification procs.
|
||||
javascript, you should see the value ``10`` in the browser's console. Use the
|
||||
`dom module <dom.html>`_ for specific DOM querying and modification procs
|
||||
or take a look at `karax <https://github.com/pragmagic/karax>`_ for how to
|
||||
develop browser based applications.
|
||||
|
||||
|
||||
Backend code calling Nim
|
||||
|
||||
Reference in New Issue
Block a user