+-+-+ +-+ +-+-+-+-+
|G|O| |4| |H|I|V|E|
+-+-+ +-+ +-+-+-+-+

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

java test

BY: @tuvokhl | CREATED: May 28, 2018, 9:57 p.m. | VOTES: 1 | PAYOUT: $0.05 | [ VOTE ]

What Can JavaScript Do?

JavaScript can change HTML attribute values.

In this case JavaScript changes the value of the src (source) attribute of an image.

<'button'onclick="document.getElementById('myImage').src='pic_bulbon.gif'">Turn on the light

img id="myImage" src="![pic_bulboff.gif](https://cdn.steemitimages.com/DQmUTHYT5xBY4bQXchTcmjXEtS6YR6CxsAP3uwnaYrhSLky" style="width:100px">

<'button' onclick="document.getElementById('myImage').src='pic_bulboff.gif'">Turn off the light

TAGS: [ #do ] [ #you ] [ #get ] [ #mistake ]

Replies

@celinavisaez | May 29, 2018, 1:35 a.m. | Votes: 1 | [ VOTE ]

Esto lo copie de internet, parece facil en teoria, pero la practica es diferente, un abrazo @tuvokhl.

JavaScript fue diseñado para añadir interactividad a páginas HTML
JavaScript es un lenguaje de secuencias de comandos
Un lenguaje de secuencias de comandos es un lenguaje de programación ligero
JavaScript está normalmente incrustada directamente en las páginas HTML
JavaScript es un lenguaje interpretado (significa que puede ejecutar secuencias de comandos sin necesidad de compilación )
Cualquier persona puede utilizar JavaScript sin necesidad de adquirir una licencia

@tuvokhl | May 29, 2018, 10:50 a.m. | Votes: 0 | [ VOTE ]

Yes. But can i implement java script here on steemit? I wanted to build a button!

@celinavisaez | May 29, 2018, 12:11 p.m. | Votes: 0 | [ VOTE ]

Sigue trabajando, busca las personas indicadas, ojala logres tu proyecto, un cariñoso abrazo @tuvokkhl.

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>