Escanea con tu iPhone para instalar
Learn the basics of html.
Novedades
Versión 1.1
Fixed typos
Qué hace
26 acciones-
Show Result
-
Show Result
-
Show Result
-
Show Result
-
Show Result
-
Ask for InputSo first, Make a script that says “hello world”. (Case sensitive)
-
If
-
Show Result
-
Nothing
-
If
-
Show Result
-
Make Rich Text from HTML
-
Quick Look
-
Show Result
-
Text
-
Make Rich Text from HTML
-
Quick Look
-
Show Result
-
Ask for InputNow make a heading that says, “I LIKE HEADINGS”. (Case sensitive)
-
If
-
Show Result
-
If
-
Show Result
-
Make Rich Text from HTML
-
Quick Look
-
Show Result
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#include 'actions/text'
#define color darkblue
#define glyph command
show("Hi! I'm Vultario and today I am going to teach you html (it's easy)")
show("So, first of all , this is a simple one. You can make any text you want and type how much you want, just by using this: \"<p>\"")
show("What I mean, is, you put it before any text you type.")
show("Example: \"<p>hello world</p>\"")
show("Oh, and I forgot to tell you, whatever thing you are doing, if it is ending something, (like ending a word or sentence) you put a slash before it.")
const ProvidedInput = prompt("So first, Make a script that says “hello world”. (Case sensitive)")
if ProvidedInput != "<p>hello world</p>" {
show("Sorry, you did not do it right. but it's ok! Your a beginner! So what you did was: \"{ProvidedInput}\". But, your supposed to do, \"<p>hello world</p>\".")
} else {
show("Good job! You just made your first script!")
const RichTextFromHTML = getRichTextFromHTML(ProvidedInput)
quicklook(RichTextFromHTML)
}
show("Now, I'm going to teach you how to use headings. Headings look big and bold, like this:")
const Text = "<h1>This is a heading</h1>"
const RichTextFromHTML1 = getRichTextFromHTML(Text)
quicklook(RichTextFromHTML1)
show("So if you want to do a heading, you put this before it: \"<h1>\". And like I said, you end it with a slash before it, like this: \"</h1>\".")
const ProvidedInput1 = prompt("Now make a heading that says, “I LIKE HEADINGS”. (Case sensitive)")
if ProvidedInput1 != "<h1>I LIKE HEADINGS</h1>" {
show("You got it wrong. You were supposed to do: \"<h1>I LIKE HEADINGS</h1> and not: \"{ProvidedInput1}\"")
} else {
show("Good job!")
const RichTextFromHTML2 = getRichTextFromHTML(ProvidedInput1)
quicklook(RichTextFromHTML2)
}
show("You have just learned the basics of html! If you want to learn more, wait for new updates. Bye!")
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de vultario
También te puede gustar
Publicidad