mirror of
https://github.com/neocities/neocities.git
synced 2025-05-15 08:57:17 +02:00
baseplate for tutorials
This commit is contained in:
parent
843fd9c40d
commit
7c1a895c89
6 changed files with 129 additions and 5 deletions
30
views/tutorial/html/1.erb
Normal file
30
views/tutorial/html/1.erb
Normal file
|
@ -0,0 +1,30 @@
|
|||
<div class="comic" style="height: 500px">
|
||||
<div class="dialogue">
|
||||
All you need to build your first site is a computer language called HTML.
|
||||
</div>
|
||||
<div class="dialogue">
|
||||
And here's some HTML, right in this box! Let's make a change. Replace Hello World with Victoria's Website, and click save!
|
||||
</div>
|
||||
<div class="dialogue">
|
||||
You'll see the results of your site here.
|
||||
</div>
|
||||
<div class="dialogue">
|
||||
Make sure to check the green boxes below for important bonus info!
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="welcome">
|
||||
<h4>Opening and Closing Tags</h4>
|
||||
<p>HTML is just a bunch of tags. There's usually an opening tag and a closing tag, with content between them like this:</p>
|
||||
|
||||
<pre>tag Content visible on your site /tag</pre>
|
||||
|
||||
<p>Don't worry if this seems confusing - you'll get the hang of it after a few more examples! If you ever get stuck, click the <strong>Help</strong> link below.</p>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function checkHomework(editor) {
|
||||
alert('this checks homework, but its true for now')
|
||||
return true
|
||||
}
|
||||
</script>
|
29
views/tutorial/html/2.erb
Normal file
29
views/tutorial/html/2.erb
Normal file
|
@ -0,0 +1,29 @@
|
|||
<div class="comic" style="height: 500px">
|
||||
<div class="dialogue">
|
||||
All you need to build your first site is a computer language called HTML.
|
||||
</div>
|
||||
<div class="dialogue">
|
||||
And here's some HTML, right in this box! Let's make a change. Replace Hello World with Victoria's Website, and click save!
|
||||
</div>
|
||||
<div class="dialogue">
|
||||
You'll see the results of your site here.
|
||||
</div>
|
||||
<div class="dialogue">
|
||||
Make sure to check the green boxes below for important bonus info!
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="welcome">
|
||||
<h4>Opening and Closing Tags</h4>
|
||||
<p>HTML is just a bunch of tags. There's usually an opening tag and a closing tag, with content between them like this:</p>
|
||||
|
||||
<pre>tag Content visible on your site /tag</pre>
|
||||
|
||||
<p>Don't worry if this seems confusing - you'll get the hang of it after a few more examples! If you ever get stuck, click the <strong>Help</strong> link below.</p>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function checkHomework(editor) {
|
||||
alert('check homework here')
|
||||
}
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue