F
F
FastClick2019-05-26 21:55:35
HTML
FastClick, 2019-05-26 21:55:35

Using console.log in .html?

Can console.log be used in .html? If so, where will it lead to?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stockholm Syndrome, 2019-05-26
@FastClick

yes, in the script tag

<script>
  console.log('hello world');
</script>

V
Vladimir Proskurin, 2019-05-26
@Vlad_IT

And why is it necessary? And why not use comments in HTML
it will be in devtoolz in the Elements tab

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question