Skip to content

Commit c8849f3

Browse files
authored
Merge pull request #244 from easycoder/dev
Intro doc
2 parents 23bc917 + 22decb8 commit c8849f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

resources/md/intro.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ The upper half of the file is the _HEAD_ of the document. In here is a call to l
3232

3333
The lower half of the file is the _BODY_ of the document, which contains everything your users are going to see. This example, being as simple as you can get, has a single element, a `<div>` element inside which is the 1-line script that displays the popup message you just saw. ~ec~ scripts look a lot like English, and like human languages they use very few symbols. It's very easy to learn the basics and whatever you write always goes inside the `<div>` element we see here.
3434

35-
Now open `index.html` into your editor. This is the file we'll be using for this short demo. Replace the existing `<body>...</body>` section with the following:
35+
## Next Steps
36+
37+
Now I'll show you a slightly more complex example, that displays some text which when clicked pops up a message. We'll start with the previous example and make the necessary changes to it. Open `index.html` into your editor and replace the existing `<body>...</body>` section with the following:
3638

3739
/1/
3840
Load the page into your browser and check the text appears. Note that only text that's outside of any angle braces will appear; the rest is all HTML tags. In this case there's a single ~code:&lt;div&gt;~ (division) that contains our text; it also has an identifier string that we'll use shortly.

0 commit comments

Comments
 (0)