|
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | | -<title>BubuCode Documentation</title> |
| 6 | +<title>BubuCode</title> |
7 | 7 | <link rel="stylesheet" href="styles.css"> |
8 | 8 | </head> |
9 | 9 | <body> |
10 | 10 | <header> |
11 | | - <h1>BubuCode <span>Documentation</span></h1> |
| 11 | + <h1>Welcome to BubuCode</h1> |
| 12 | + <p>Your simple, easy-to-learn programming language.</p> |
| 13 | + <a href="docs.html" class="button">Explore Documentation</a> |
12 | 14 | </header> |
13 | | - |
14 | | - <nav> |
15 | | - <ul> |
16 | | - <li><a href="#intro">Introduction</a></li> |
17 | | - <li><a href="#syntax">Syntax</a></li> |
18 | | - <li><a href="#variables">Variables</a></li> |
19 | | - <li><a href="#functions">Functions</a></li> |
20 | | - <li><a href="#conditionals">Conditionals</a></li> |
21 | | - <li><a href="#loops">Loops</a></li> |
22 | | - </ul> |
23 | | - </nav> |
24 | | - |
25 | | - <main> |
26 | | - <section id="intro"> |
27 | | - <h2>Introduction</h2> |
28 | | - <p>BubuCode is an easy-to-learn programming language designed for simple and memorable syntax.</p> |
29 | | - </section> |
30 | | - |
31 | | - <section id="syntax"> |
32 | | - <h2>Basic Syntax</h2> |
33 | | - <p>Here is a sample syntax for BubuCode:</p> |
34 | | - <div class="code-block"> |
35 | | - <code>** this is a comment<br> |
36 | | - var number: 10<br> |
37 | | - log("Hello, BubuCode!")</code> |
38 | | - </div> |
39 | | - </section> |
40 | | - |
41 | | - <section id="variables"> |
42 | | - <h2>Variables</h2> |
43 | | - <p>In BubuCode, you can declare variables using <code>var</code> keyword:</p> |
44 | | - <div class="code-block"> |
45 | | - <code>var name: "Bubu"<br> |
46 | | - var age: 20</code> |
47 | | - </div> |
48 | | - </section> |
49 | | - |
50 | | - <section id="functions"> |
51 | | - <h2>Functions</h2> |
52 | | - <p>You can define functions using the <code>function</code> keyword:</p> |
53 | | - <div class="code-block"> |
54 | | - <code>function greet(name)<br> |
55 | | - log("Hello, " + name)<br> |
56 | | - end</code> |
57 | | - </div> |
58 | | - </section> |
59 | | - |
60 | | - <section id="conditionals"> |
61 | | - <h2>Conditionals</h2> |
62 | | - <p>Conditionals in BubuCode use <code>if</code> and <code>else</code>:</p> |
63 | | - <div class="code-block"> |
64 | | - <code>if age >= 18 then<br> |
65 | | - log("You are an adult.")<br> |
66 | | - else<br> |
67 | | - log("You are a minor.")<br> |
68 | | - end</code> |
69 | | - </div> |
70 | | - </section> |
71 | | - |
72 | | - <section id="loops"> |
73 | | - <h2>Loops</h2> |
74 | | - <p>BubuCode supports <code>forloop</code> and <code>whileloop</code>:</p> |
75 | | - <div class="code-block"> |
76 | | - <code>forloop i = 0, 5 do<br> |
77 | | - log(i)<br> |
78 | | - end</code> |
79 | | - </div> |
80 | | - </section> |
81 | | - </main> |
82 | 15 |
|
83 | 16 | <footer> |
84 | 17 | <p>© 2024 BubuTheDev. All rights reserved.</p> |
|
0 commit comments