¿Como hago para que el código html, CSS salgan en la consola de JS? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

¿Como hago para que el código html, CSS salgan en la consola de JS?

Miren el contexto es el siguiente, tengo un trabajo ya hecho en html, CSS, pero aun no se bien para que es JS, como hago para que el código html y CSS ya creado salga en la consola de JS, o ¿que es JS? "entiendo por JS, que es la parte en la que el usuario interactua con el programa ya creado".

20th Nov 2023, 2:04 AM
daniel guzman echeverri
daniel guzman echeverri - avatar
2 Answers
+ 2
With HTML and CSS you can create mostly static pages that don't change. With javascript, you can add behavior to your page, for example hide or change some text inside specific elements, or even communicate with other websites and pull content from other pages or web services dynamically, for example when the user clicks a button, hovers over some element, or scrolls down. You will put such code in the JS tab, to isolate it from the page structure (html) and style (css).
20th Nov 2023, 8:26 AM
Tibor Santa
Tibor Santa - avatar
+ 2
Ok brother thanks
20th Nov 2023, 11:31 AM
daniel guzman echeverri
daniel guzman echeverri - avatar