Escribir vertical


/ Published in: JavaScript
Save to your folder(s)

Escribir vertical


Copy this code and paste it in your HTML
  1. function escribe(msg)
  2. {
  3. contador =0;
  4. while (contador<msg.length)
  5. {
  6. letra = msg.substring(contador,contador+1)
  7. document.write(letra+"<br>")
  8. contador+=1
  9. }
  10. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.