Posts

Showing posts from July, 2022

Code in HTML to create Table |Time table in HTML|

Image
 Here is code to create a Time Table in HTML <html> <center>II BSC.COMPUTER SCIENCE TIME TABLE</center> <center><table></center> <tr> <table border="1" cellpadding="6"cellspacing="6" bordercolor="green" bgcolor="pink"> <th>Day order</th>  <th>1st hour</th> <th>2nd hour</th> <th>3rd hour</th> <th>4th hour</th> <th>5th hour</th> </tr> <tr> <td>1</td> <td>CG Lab</td> <td>RDBMS</td> <td>Physics</td> <td>CG</td> <td>WEBLab</td> </tr> <tr> <td>2</td> <td>OS</td> <td>Physics</td> <td>OS</td> <td>RDBMS</td> <td>WEB</td> </tr> <tr> <td>3</td> <td>RDBMS</td> <td>RDBMS Lab</td> <td>WEB lab</td> <td>C...

Free JavaScript course |Guvi|

Image
 Hello everyone! Here is a big opportunity don't miss it Here is a ultimate course websites that gives free JavaScript course with IIT Madras  and Google approved certificate after the completion of the course GUVI  (named as an acronym of  Grab Your Vernacular Imprint ) is an online platform to learn  computer programming  based in  India . It offers free and paid coding courses to students and working professionals in Indian languages such as  Hindi ,  Telugu ,  Kannada ,  Bengali ,  Tamil , and in  English . GUVI's mission is "to make technical education available to all in their native languages". Guvi provides a free JavaScript course which will help you to gain knowledge from beginner to expert module . It also provides a IIT Madras and google partnered certificate with Google logo. It also provides free library course without certification process . People who want to develop your skill in various felids can use t...

JavaScript variables

Image
 Declaration of string variables in JavaScript let name  of variable="the string"; For example let box="C language"; For declaring a string it should be given only within the double quotes. Now to print the string from the variable follow the below step, console.log(box); Output: C language The above statement should be followed to print "C language". If  you see we have used the variable name "box" to declare the string because the string has already declared in the variable name "box". So,  instead of using the string use the variable name to print the string. Declaration of number variable in JavaScript let number =100; For declaring a number don't use double quotes, if double quotes is used it becomes a string. We can perform Arithmetic operations by just declaring them and performing For example let firstNum = 100; let secondNum 2 =200; console.log(firstNum+secondNum); Output: 300 Note: If you see the above example I had used ...

JavaScript program to print Hello World |How to print Hello world in Javascript|

Image
      Print Hello World in JavaScript The first thing is you should open Google web browser console if you don't  know do not worry at all here is the link attached  ( |How can I Open a google chrome console from JavaScript| |Console in JavaScript| (ayyavuu.blogspot.com)  Refer this link to open a Google chrome console. console.log(" "); this is the syntax of the printing statement Now, After opening the Google Chrome console and just type the below statement console.log("Hello world"); Now press enter and Hello World will be printed. The below images are attached for reference .

|How can I Open a google chrome console from JavaScript| |Console in JavaScript|

Image
 JavaScript or LiveScript is a programming language that is on of the core technologies of the World Wide Web, alongside HTML and CSS. Invented by Brendan Eich. 98% websites use JavaScript on client for web page behavior. It is a lightweight interpreted programming language. The web browser receives the JavaScript code in its original text form and runs the script from that. Steps to open console  Step1: Open your browser Step 2:Just double click on any place of your web browser and At last you will see inspect click that. Step 3:A new box will be opened. Step 4: In that look on the taskbar of the box you will see various applications like welcome, elements, console, sources etc,. Step 4:From that select Console. Step 5:At your left side you will see arrow called "show console sidebar" Step 6:Click Console sidebar, and in that select no messages or the first statement . If you don't see no messages statement then don't just click the first statement which is highlight...