reversestring-RMB #28
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prompt final:
Crea una página web con lógica en javascript que invierta el orden de una cadena de texto. Ejemplo: si introduzco AI4Devs devuelve sveD4IA.
Crea tres ficheros: index.html, script.js y style.css.
El diseño tiene que ser muy atractivo para el usuario, fácil de entender, fresco, actual y moderno. Puedes utilizar imagenes SVG para hacerlo más atractivo. O si quieres tambien utiliza iconos. Tiene que ser responsive.
Tiene que contener tres bloques:
El primer bloque tiene que contener las instrucciones, un input de texto, un botón de invertir y un espacio para el resultado. El resultado aparece cuando se clica el botón.
El segundo bloque tiene que contener las instrucciones, un input de texto y un espacio para el resultado. El resultado aparece cuando se introduce 3 o más carácteres.
El tercedr bloque tiene que contener las instrucciones, un input de texto y un espacio para el resultado. El resultado aparece automáticamente al introducir cualquier carácter.
Genera código limpio y si puedes reutiliza funciones.