Posts

Why To Learn C As Your First Programming Language?

Image
If you want to learn a programming language and come over to C language to learn as your first programming but don't know if you should learn it or not as your first programming language then here are 4 reasons that will help you decide if it should be your first programming language or not. C is Easy To Learn C programming language is easy to understand and learn for beginners. New programmers or beginners can easily get comfortable with progamming concepts by learning the C language. C is the Mother of All Programming Language C is one of the oldest programming languages and it contains all the basic and advanced concepts of programming in general. If you learn C as your first programming language, it will be easy for you to switch and learn other programming languages as you will have the basic concept of programming. After learning C, you can switch or migrate to other programming languages like C, C++, Java, JavaScript, etc. C is used To Develop System Level Apps C programming

How To Insert CSS into an HTML document?

Image
There are three ways to insert CSS into an HTML document. They are: External CSS Internal CSS Inline CSS External CSS In external CSS you have to create a separate css file, for example, style.css and then link this file to html document using <link> tag inside <head> section of an HTML document. The code is <link rel="stylesheet" href="style.css"> syntax: /* <link rel="stylesheet" href="filename.css"> */ Internal CSS In internal CSS, CSS code is written inside the <style> tage inside <head> section of an HTML document. For example: <head>    <style>          body{        background-color: red;       font-family: arial;    </style> </head> Syntax /* <head>     <style>    -------------------------    -------CSS Code-------   --------------------------     </style> </head> */ Inline CSS In Inline CSS, CSS code is written in the 'style' attribute of any s

How To Insert JavaScript in HTML?

Image
There are two ways to Insert/Connect JavaScript to HTML documents. They are: Use External JavaScript You can create external JavaScript and link it to the HTML document. First of all, create a JavaScript file, for example, MyScript.js , and type all the JavaScript code you want. Then goto HTML document and inside <head> section add this code. <script src="MyScript.js"></script> Syntax: <script src="filename.js"></script> Use JavaScript inside the HTML document You can also type JavaScript code inside the HTML document using <script></script> tag inside <head> or <body> section. For example: <html> <head> </head> <body>  <button onclick="text()">Click</button>   <button onclick="date()">Date</button>   <p id="demo"></p>   <p id="date"></p>     <script>       function text(){   document.getEle

What is Language Processor and Its Types

Image
Language processor is a software which is used to convert the high-level languages code into machine code. Example: C, C++, Java, etc. There are different types of language processor like Compiler, Interpreter, and Assembler. Types of Language Processor Compiler Compiler is a language processor which converts code written in high-level languages to machine code. It converts whole program at once. The written code is known as Source Code and the executed program is known as Object Program. Interpreter Interpreter is a language processor which converts code written in high-level languages to machine code one statement at a time. It first execute the one statement of code and then second, then third and so on. It also don't generate Object Program. Example: QBASIC, Visual BASIC, etc. Assembler Assember is a language processor which converts code written in assembly language to machine code.

How To Create A Simple Navigation Bar Using Only HTML and CSS?

Image
STEP 1: Add a ul tag and inside it add li tag. Inside li tag add a tag with the Name. HTML Code <!DOCTYPE html> <html lang="en"> <head>   <meta charset="UTF-8">   <meta http-equiv="X-UA-Compatible" content="IE=edge">   <meta name="viewport" content="width=device-width, initial-scale=1.0">   <title>Document</title>   <link rel="stylesheet" href="style.css"> </head> <body>   <div class="header"><h1>SmartTechTip</h1></div> <ul>   <li><a href="">Home</a></li>   <li><a href="">HTML</a></li>   <li><a href="">CSS</a></li>   <li><a href="">JS</a></li>   <li><a href="">About</a></li> </ul> </div> </body> </html> STEP

How To Create a Fan Using Only HTML and CSS?

Image
STEP 1: Add <div class="fan"></div> inside the body section.   STEP 2: Add an image inside the div. <img src="fan.png" alt="fan"> Download Image( Click Here ) <!DOCTYPE html>         <html lang="en">          <head>          <meta charset="UTF-8" />          <meta http-equiv="X-UA-Compatible" content="IE=edge" />          <meta name="viewport" content="width=device-width, initial-scale=1.0" />          <link rel="stylesheet" href="style.css" />          <title>Fan</title>          </head>          <body>          <div class="fan">          <img src="fan.png" alt="fan">          </div>          </body>         </html> STEP 2:  Add this CSS Code. .fan{         width: 400px;         height: 400px;          margin:auto;       

How To Become A Web Developer?

Image
What is Web Development? Web development is the process of developing websites and web applications, and a person who develops websites and web applications is known as a Web Developer. Types of Web Developer There are three types of Web Developers: Frontend Web Developer Backend Web Developer Fullstack Web Developer FrontEnd Web Developer Frontend web developers are those developers who design the user interface of the website. Frontend development is basically client-side development. BackEnd Web Developer BackEnd Web Developer are those developers who handle the database, and server-side stuff like collecting, managing user input information, the connection between the user computer and the server, etc. Backend development is server-side development. Fullstack Web Developer Fullstack Web Developer is a combination of both frontend and backend developers. They do both client-side and server-side work. How To Become A Frontend Web Developer? To Become a Frontend Web Developer you need

Can I Start Coding At The Age of 30, 40 or 50?

Image
Coding has become popular and changed our lives over the last 5 decades and more. Many people started learning to code and make millions. They learn to code at a very young age. But is it mandatory to learn to code at a young age? Can't anyone of any age learn to Code? Can you learn Coding at the Age of 30, 40, 50, or 60s? Yes definitely is that even a question. You are never late to start something or to do anything. If you want to learn to code or any other skill, start right now. Who is stopping you? Let me give you an example. There was a popular American business known as Colonel Sanders, founder of KFC. Do you know that Colonel Sanders was 65 years old when started KFC? Crazy, isn't it? If he can start a company at the age of 65 and make it a profitable business then what is stopping you. You can start to learn to code at any age. If you are in school, college, or an employee working in their 30s, 40s, 50s, businessman whatever you are of any age. You can learn to code. N

How To Create A Loader Using Only HTML and CSS?

Image
To create a loader like this by using only HTML and CSS.    STEP 1: Create an HTML file and type this code. <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta http-equiv="X-UA-Compatible" content="IE=edge">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Loading</title>     <link rel="stylesheet" href="style.css"> </head> <body>     <div class="loader"></div> </body> </html>     STEP 2: Create a CSS file and type this  code. .loader{     width: 70px;     height: 70px;     border: 10px solid rgb(207, 207, 207);     border-top: 10px solid red;     border-radius: 50%;     margin: auto;     position: relative;     top: 250px;     animation-name: loader;     animation-timing-function: linear;     animation-duration: 1s;     animation-iter

Why so many Programming Languages Are Created?

Image
Programming is a way of giving a set of instructions to a computer to perform a task. There are already thousands of programming languages in the market like C, C++, JAVA, Javascript, Python, etc. But why there are many programming languages. Can't we just use one programming language for coding everything? Why so many Programming Languages Are Created? The reason behind many programming languages in the market is their requirement per the need. Let's say If you want to cut an apple you will use a knife right and to sew clothes you will use a sewing needle. To do different tasks you use different tools suitable to complete that task. You can't cut an apple using a sewing needle and can't sew clothes using a knife. Same as you can't create all the computer programs using a single programming language as all programming languages are designed for different tasks. For example: To design a Website Frontend HTML, CSS, and JavaScript are used. JavaScript can also be used

5 Types Of Programming Language

Image
Programming language is a computer language written to communicate and give instruction to a computer. There are many programming languages for computers. Every programming language has its own features. 5 Types Of Programming Languages Procedural Programming Language Procedural Programming language is a programming language where programs are coded and executed step-by-step as written in code. For example: BASIC, C, Java, etc. Scripting Programming Language Scripting Programming Language is a language whose code can be executed without compilation. It uses an interpreter to execute commands or code. For example: JS, PHP, etc. Object-Oriented Programming Language Object-Oriented Programming language is a language based on an object or unit which contains data. For example: Java, C++, PYTHON, JS, etc. Functional Programming Language Functional Programming language is a programming language used for symbolic computation and list processing applications using a mathematical function. For

What is C Programming Language?

Image
C is a high-level programming language developed by Dennis Ritchie in 1972 AD. The reason behind its name C is because there was already a programming language called B. So he gave his creation name C Language. C language is popularly known as the mother of all programming languages. It is capable of all the high-level and low-level programming stuff. All the basic to advance concepts and points are included in it. Once you will learn the C programming language, it will be easy for you to learn other programming languages as you already learned the basic concept of programming and how the programming stuff works. C language code needs a compiler to execute and the program written in C language. There are already many C language compilers like Turbo C, DEV CPP, etc. Features of C Programming Language: Programs coded in the C language are machine-independent. It supports Modular Programming. It is a structured programming language. It is used to code for hardware-level programming. Advan

Introduction To HTML | Web Development Course

Image
What is HTML? HTML is HyperText Markup Language which is used to design or create the structure of any web page. Web pages are also known as HTML documents. What is HTML Tag? An HTML tag is a keyword or command enclosed in an angular bracket. HTML Tag consists of Element, Attribute, and Value. <tag attribute="value">Content</tag> Types Of Tags Single Tag or Empty Tag The tag which doesn't have the ending tag is called a single tag. some single tags are: <br>,<hr>,<!>, etc. Pair Tag or Container Tag The tag which has an opening and ending tag is known as a Pair tag. The pair tags always end with slash(/). Some pair tags are: <p>...</p>,<h1>...</h1>,<div>...</div>,etc. Create Your First HTML Document Open Notepad or other Code Editor and type the code shown below. <!DOCTYPE html> <html> <head> <title>Hello World</title> </head> <body> <p>This is my first HTML Do

How Do Websites Work?

Image
Whenever we enter the URL on the web browser of any website, the website page which is also known as the webpage is loaded. But, how? How the page stored somewhere else load in the user's computer? How Does Website Work? How Does Website Work? There work 2 computers to make the website work. They are Client-side computers and Server-side computers. Client means the User computer and the Server means where the website data, information, and codes are stored. The wifi/network connection and ISP help to exchange information between the Client and Server. When a user/client enters the URL, the request of the URL goes to the Server. When the server gets the request, it checks its database and analyzes if the user is new, or the user already exists on our server, does this user has uploaded anything to our website, etc. information to show the response to the user. Then, the codes run and create suitable data and information for the user, and then the information is converted into an HTM

How To Hack Chrome Dino Game?

Image
We all have played the Chrome Dino game when we don't have our Internet Connection. Many of us have also tried to score a high score playing it and lose the game many times. But, today you will learn how to hack the Chrome Dino Game. How To Hack Chrome Dino Game? First of all, open the Chrome Dino game. To open it, simply turn off your Internet Connection and enter anything on the URL bar of the Chrome browser, and hit enter. Or you can simply type: chrome://dino on the chrome URL bar to open it. Then, open the Developer tools. To open it, simply right-click and click on Inspect or press the Ctrl+Shift+I key from the keyboard. Then type the code Runner.prototype.gameOver = function () {} or copy it and paste on the Console tab and hit enter. Now your Chrome Dino game is hacked.  

What To Do If You Drop Your Smartphone In Water?

Image
Dropping a smartphone in water accidentally might be a common incident among smartphone users. Many smartphone users sometimes walk near water sight, or while on the boat or anything and drop their smartphone accidentally, and after that their smartphone won't turn on. What To Do If You Drop Your Smartphone In Water? If you have dropped your smartphone accidentally in water and it won't turn on then you might follow these points: Quickly take out your smartphone from the water and clean it with a dry fiber cloth. For god's sake, If the smartphone is on, turn it off until the phone is totally rid of water. Shake your smartphone so that water can come out of the smartphone. Keep your smartphone in a little warm place so that water can vaporize. Don't use too much heat to dry your smartphone. Otherwise, the smartphone's internal part may get damaged. Clean all the ports like headphone port, charging port, SIM card port, etc properly. If the smartphone is free from wate

What is The Use Of Screensaver On The Computer?

Image
We all have once tried to play with screensaver program in windows computer for fun or maybe for other reason. But, have you ever asked yourself, what is a screensaver and what is its use? Everyone might know about it, but many people don't know its use. What is Screensaver On The Computer? Screensaver is a computer program that displays the moving image, text, patterns, object, or blank screen when the user leaves their computer for a while or when the computer is not in use. What is the Use of Screensaver Program? Initially, the screensaver program was used to protect the CRT monitor from the screen burning problem. In the back days, computer monitor technology wasn't advanced as it is now. CRT monitor screen used to easily burn when the same image is being displayed for a while. To stop this screen burning or screen ghost problem, a screensaver program was made. The screensaver program displays the moving image or pattern on the screen when the user stops using their compute

Why India Banned Free Fire And Other Chinese Related Application?

Image
Recently, India banned one of the biggest games called Free Fire and other applications, which were kind of related to China. It is not the first time India has banned something. Before, TikTok, PUBG, and other applications were banned as well. But, why? Why has India Banned Free Fire and Other Applications? The one main reason India has banned or any country will ban applications is 'Privacy'. Privacy is one of the main reasons India and other countries banned theirs oppose country application/products. These banned applications were tracking user-sensitive data, asking for critical permission from the user, and sending real-time data to hostile countries. Concerning the Privacy of the user, the Indian government banned lots of applications that were misusing the user data that can be used to threaten or to do any bad thing to their hostile country. Every user should be aware of their data privacy and security. They should try to protect their personal and sensitive data from

10 Hidden Features/Settings On Samsung Smartphone

Image
If you use a Samsung smartphone then you must know these 10 Hidden Features. These 10 features can make your smartphone uses more efficient and interesting. Turn Off Notification of The App Quickly and Permanently On our smartphones, we daily get different types of notifications from different apps. Some App Notification can become so much annoying when the Notification is popping up many times. If you want to quickly disable Notification of the particular app or make Notification Silent then you can long-press on the Notification and disable it or select the silent or alert option.   Camera Flash Notification You can also make your smartphone camera flash when the notifications pop up on your smartphone. To Enable Camera Flash Notification you have to Follow These Steps: Open Smartphone Settings. Go To Accessibility Option. Go To Advanced Settings Then, Go To Flash Notification and Enable it. Or Simply Search "Flash Notification" on Smartphone Settings Search Bar.   Swipe Do

10 Fun Google Search Tricks

Image
We daily use Google Search Engine to get our questions answer. But do you know that Google is also one of the best place for entertainment. Below I have mentioned 10 Fun Google Search Tricks that will blow your mind. Google Gravity If you search "Google Gravity" and click on  I'm Feeling Lucky. Then, you will see the search bar, logo, etc will fall down because of the gravity.   Recursion If you search "Recursion" on Google, it will keep saying you "Did you mean: recursion". Do A Barrel Roll If you search "Do A Barrel Roll", your search result will rotate for 1 time.   Askew If you search "Askew" on Google, you will see the tilted result on your browser.   Blink HTML If you search "Blink HTML" on Google, some of the words from the search result will start blinking.   Play Pacman It's time for playing some games. If you search "Play Pacman" on Google, you can play Pacman game on Google.   Play Snake If you sea

Trending Posts

What Are The Use of Function Keys F1 to F12 on The Keyboard?

5 Awesome Computer Shortcut Key Tricks You Must Try

How To Insert JavaScript in HTML?

Why iPhones Don't Have Memory Card Slots?

Why Do All Celebrities Use iPhones?

12MP vs 48MP vs 64MP vs 108MP | Does More Megapixel Equal Better Image Quality?

How To Take Screenshot On HP, Dell, Asus Laptop And PC?

How To Insert CSS into an HTML document?

5 Websites To Increase Your Typing Speed

Computer Memory Measurement Units Chart