How to make Console in HTML

Hello, Bloggers! Welcome to Raghavendra Technic.



In this tutorial, we are going to show you How to make Console in HTML.



The Chrome console is a valuable tool for web developers and anyone who wants to learn more about how web pages work. It can be used to debug JavaScript errors, track the progress of a web application, and inspect the underlying structure of the page.




  • Log messages. This can be helpful for debugging problems or tracking the progress of your code.

  • Run JavaScript. This can be used to test new code or to interact with the page in ways that are not possible with the normal user interface.

  • Inspect the DOM. The DOM is the tree-like structure that represents the content of a web page. You can use the console to inspect the DOM and see how it is structured.

  • Inspect the CSS. The CSS is the code that controls the appearance of a web page. You can use the console to inspect the CSS and see how it is applied to the page.

  • Inspect the network. The network panel allows you to see all of the requests that are made to the server when you load a web page. This can be helpful for debugging problems with loading times or for tracking down resources that are not being used.



How to Add Console in HTML?



Important!Before we start adding codes in XML, I will recommend you to take a Backup of your current theme. By chance if any problem occurs, you can restore it later.



Step 1: First of all Login to your Blogger Dashboard.



Step 2: On Blogger Dashboard, click Theme.



Step 3: Click the arrow down icon next to 'customize' button.



Step 4: Click Edit HTML, you will be redirected to editing page.



Step 5: Now search the code </body> and paste the following Codes just above to it.




<script>/*<![CDATA[*/ 
/* Console by T.MK */ const consolE = document.getElementsByTagName("console"); if (consolE.length > 0) {const consoleElement = consolE[0];const conLog = consoleElement.innerHTML;console.log(conLog);consoleElement.style.display = "none";}
/*]]>*/</script>


Step 6: Now create a page or post and copy the codes and paste in your page or post.




<console>
<!--[ Here your Console Text ]-->
</console>


Step 7: Now click on Save by clicking this icon



Step 8: That's done!



Where is the Demo your Question?



i will Write in Console This is the Demo of Console



For Laptop user easy to access inspect option then Laptop user Check it now



For mobile users (me also) Download this App Kiwi Browser Install and all Permissions Give and copy This post Url and past in the App, Redirected after click on 3 dots after Scroll down your will be visible Developer Tools in the next tab you will see Developer Tools page on this post and Left top you will see Console click on Console you see What im written you forget What im written then Down See 👇



i Written in Console This is the Demo of Console



Conclusion


In this article I have made a tutorial on How to make Console in HTML. I hope you have liked it and Please do share with your friends and follow our blog for more



If you face any problems in code or have any questions please feel free to ask in comments section or join our Telegram Group for discussion.



Our All Posts Are Protected By DMCA. So Don't Try To Copy Our Posts And Reproduction In Any Way Is Strictly Prohibited! Or else Legal Actions Will Be Taken. © Raghavendra Technic | All Rights Reserved



© Copyright:
raghavendratechnic.blogspot.com



This is the Demo of Console
Professional Web Designer || Graphic Designer || UI / UX Designer || Gamer

Post a Comment