Skip to content

Commit ef0056f

Browse files
committed
Doc
1 parent 7f54c87 commit ef0056f

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

resources/ecs/codex.ecs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@
318318
if Message is `next` go to StepForward
319319
if Message is `tutorial`
320320
begin
321-
set style `display` of ReferencePanel to `none`
321+
set style `display` of ReferencePanel to `none`
322322
set style `display` of HelpPanel to `block`
323323
set style `display` of HelpButtons to `block`
324324
put empty into storage as `.ref`

resources/md/home.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
## The simple yet powerful alternative to JavaScript ##
22

33
~ec~ is a scripting language that looks a lot like English. It lets you build interactive websites or add interactivity to your existing website.
4-
### Do I need to learn programming? ###
5-
No. It's not necessary for you to be an expert programmer. What matters is you know what you want to do and can express it logically. If you can describe clearly - in English - what your web page should do you're already half-way to an ~ec~ script. You can add one to any website in minutes and bring it to life, transforming it from static to lively and interactive.
4+
65
### What sort of things does it do? ###
6+
77
- Many websites consist of a long single page that have to be scrolled to get to the details, but it can be hard to know where anything is and there's usually no effective organization. With a few lines of script such a page can be divided into sections that can be hidden and revealed one at a time like a slide deck.
88

99
- If you have a number of items on a page you could show which the user has already looked at by drawing an outline round each one, changing the background color or overlaying a tick in one corner.
@@ -13,7 +13,13 @@ No. It's not necessary for you to be an expert programmer. What matters is you k
1313
- Any part of the screen can be replaced with new content taken from a remote server without the need to reload the page.
1414

1515
Although these features are the ones most likely to be used by the averge website owner, ~ec~ can do a lot more, to the point it can be used to build entire interactive websites without a single line of JavaScript ever being seen. A good example is our own site, that you're reading now.
16+
17+
### Do I need to learn programming? ###
18+
19+
No. It's not necessary for you to be an expert programmer. What matters is you know what you want to do and can express it logically. If you can describe clearly - in English - what your web page should do you're already half-way to an ~ec~ script. You can add one to any website in minutes and bring it to life, transforming it from static to lively and interactive.
20+
1621
### How do I find out more? ###
22+
1723
The best place to start is with our ~ec~ **Codex** - see the link /SIDEBAR/. The **Codex** is a page here on this website that teaches the basic features of ~ec~ and lets you try out example scripts in our coding playground. It includes a complete reference manual for the ~ec~ scripting language and it's intended to be used by people of all abilities.
1824

1925
Also look at some of our examples (/SIDEBAR/). These are complete web pages you can copy to your own website and run.

0 commit comments

Comments
 (0)