By Bastiaan van der Plaat
if ("I" like @this) then {
say("Give a 🍕 party!")
} else {
say("English is a great language!");
}
then get(a coffee) and sleep(for a while)<h1>My English Speech!</h1>
<p>This is a <a href="https://html.com/">HTML</a> page!</p><p>Text</p><a href="https://google.com/">Google</a>| Tag name | Function |
|---|---|
| h1 > h6 | Headers |
| p | Paragraph |
| ul, ol | (Un)ordered list |
| li | List item |
| a (href) | Anchor (hyperlink) |
| style | CSS coms her |
| img (src) | Image |
| div | Basic block |
| b, i, u | bold, italic, underlined text |
<style>
a {
color: blue;
}
a:hover {
color: red;
}
</style>a {
...
}
h1, p {
...
}
a:hover {
...
}
<p class="red-color text-center">This is red text!</p>
.red-color { color: red; }
.text-center { text-align: center; }body {
background-color: lightblue;
}
p:first-child {
color: red;
/* This is a single-line comment */
text-align: center;
}
/* This is
a multi-line
comment */| Property | Options |
|---|---|
| text-align | left | right | center | justify |
| color | red | blue | black etc |
| background-color | red | blue | black etc |
| font-size | 16px | 2em etc |
| font-family | "Segoe UI", sans-serif etc |
| border | 1px solid red |
| font-weight | normal | bold |
Share your cool new site with everyone you care about
$ npm install -g @angular/cli
$ ng new my-app
$ cd my-app
$ ng serve --openif ("you" have @enjoy) then {
say("Have a nice day!")
} else {
say("Eat some 🌯 and sleep.")
}
then wait(for a while)