Posts

How to node connect msSql locally

const sql = require("mssql/msnodesqlv8"); var config = { server : "LAPTOP-N080klk\\SQLEXPRESS", database:"testdb", driver:"msnodesqlv8", options:{ trustedConnection:true } } sql.connect(config,(err)=>{ if(err){console.log("error-->"); return } var req = new sql.Request() req.query("select * from users",function(err,records){ if(err){console.log(err)} else{ console.log(records) } }) })

Git & Githubs Commands

Terminal  Commands   cd (go to child directory) cd .. (go to parent) mkdir (create a new folder) ls (list of files) ls -a (show also hidden files) Check Git Version git --version Configuring Git git config --global user.name "myname" git config --global user.email "mailId" git config --list (to check git config) Clone & Status Clone - Cloning a repository on our machine git clone <-link-> git status Add & Commit git add filename git add . (when we use dot then added all files) git commit -m "msg" Git Push upload local repo content to remote repo git push origin main Init Command used to create a new git repo git init git remote add origin <-link-> git remote - v (to verifiy remote) git branch (to check branch) git branch -M main (to rename branch) git push origin main or git push -u origin main ...

Fix Issue : Cannot be loaded because running scripts is disabled on this system. For more information,

Step 1: Step 1: First, you have to need to open the command prompt and run this command. set-ExecutionPolicy RemoteSigned -Scope CurrentUser When you run this command, you can see that your system has set all policies for the current user as remotely. It will take few seconds to complete this process. Step 2: Now you have to run the second command on your system. This command is: Get-ExecutionPolicy When you have run this command your system has a show “RemoteSigned”. If you have received this message, then your problem will be solved. Now you have to go to the next step to view the list of policies which policy has been updated by the last commands. Step 3: To view their policy, you need to run this command in your command prompt: Get-ExecutionPolicy -list

HTML Interview Questions | web2tags

Image
HTML Interview Question What is websocket?

Angular Interview Question | Top Interview Question | angular

Image
Angular Interview Question Close All Main diffrence Between AngualrJS and Angular ? AngularJs Angular JavaScript-based Framework TypeScript based Framework It follows a Model-View-Controller (MVC) architectural pattern. It follows a component-based architecture with a hierarchical dependency injection system. AngularJS can suffer from performance issues when handling large-scale applications due to its two-way data binding and digest cycle. Angular provides improved performance and speed compared to AngularJS. It introduced a change detection mechanism that is faster and more efficient. What is Lazy and Eager Loading in Angular ? Eager Loading is the default loading in Angular. It loads all the modules ...

Text Formatting Tags in Html | hindi | web2tags

Image
Text Formatting Tags in HTML Formatting tag का पिरयोग  हम  text  को special   type   से दिखाने   के  लिए  करते है। Html  में  Formatting tags  काफी  है  जिनसे हम  अपने text   Meaningfull  तरीके  से  दिखा  सकते है।  List of formatting tags 1. BOLD Tag : <bold> tag  एक formmatting  टैग  है।  जिसका  यूज़  हम  किसी भी  Text को   ब्राउज़र पे  बोल्ड  दिखाने  के  लिए करते  है Example Html : <b>  Bold text </b> Output :  Bold text

Dropdown - pure css dropdown

Image
> Css Dropdown HTML My Dropdown 1 expand_more Link 1 Link 2 Link 3 Link 4 My Dropdown 2 expand_more Link 1 Link 2 Link 3 Link 4 Code Grapevine Css Dropdown My Dropdown 1 expand_more Link 1 Link 2 Link 3 Link 4 My Dropdown 2 expand_more Link 1 Link 2 Link 3 Link 4

hasClass() in jquery | Webdesigning | Web2tags

HasClass() in jquery hasClass () फंक्शन  का  use  हम jquery  में  किसी  भी HTML  के element  के पास  class है या नहीं  चेक करने क लिए करते है।  इस  फंक्शन  के जरिये  हम class  क होने पर अपनी कंडीशन  चेक करा सकते है।    Ex -  मान लीजये  मेरे पास एक div  है  जिस पे  FillColorBox  नाम की  क्लास लगी है  और दो बटन जिन पर fillColorButton  नाम की क्लास है   एक  बटन के पास  blue नाम की क्लास है  और दूसरे  बटन  के पास  green  नाम की  क्लास है।  जब हम  fillColorButton  क्लास  पे क्लिक करे तो  FillColorBox नाम की क्लास बाला एलिमेंट का बैकग्राउंड  कलर  नीला  और  हरा हो जा।  तो  यह पर  हम hasClass () का use करके पता लगयेगे की किस बटन के  पास  ग्रीन क्लास  है  और किस बटन  के पास ब्लू क्लास है। उसी   कंडीशन  पे हम FillCol...

Color Picker in HTML | how Get Color code in jquery

Image
Color Picker RESET RUN

How to Design a Button | css

Basic Button Button RESET COPY RUN

[Solved ] onclick='myfunction({{x.value }})' how to use angular js scope variable with onclick event without ng-click, without ng-click or without onclick call function

<a href="#!" onclick="myfunction({{x.value }})">button</a>  Solution <a clickon="myfunction({{x.value}})" href="#!">button</a> <script>   $(document).on("click", "[clickon]", function () {     var y = $(this).attr('clickon');     setTimeout(y, 1) });   function myfunction(val){   alert(val)   }      </script> if  this post  was  helpful for u  pls  drop comment  in comment box  and subcribe  to web2tags 

Top Web Designing Framework for your Websites and Web Application

Image
Web2tags में आपका दिल से स्वागत है यहाँ पर हम आपको अपनी भाषा हिंदी में वेब डिजाइनिंग और वेब से रिलेटेड जानकारी देते है। पोस्ट में जानेगे की वेबसाइट को कम टाइम में बढ़िया कैसे बनाया जाये। पोस्ट में बातये गए वेब फ्रमवर्क की हेल्प से काफी अच्छी वेबसाइट या मोबाइल ऍप्लिकेयन को बना सकते है बो भी कम बक्त मे। ये वेब फ्रेमवर्क काफी जयादा पॉपुलर है इन्हे जयादातर कंपनी बा वेब डिज़ाइनर use करते है।। 1. Bootstrap View 2. Materialize View 3. Foundation View 4. Semantic UI View अगर आपको ये पोस्ट अच्छी लगी हो तो web2tags को suscribe कर ले और कमेंट कर आप हमे पोस्ट केसी लगी ये बता सकते है ।

Top 10 Question & Answer of web designing Interview

Image
QUESTION 1.What is empty element .... 2.What is default position of html web page .... 3.What is absolute path and relative path .... 4.Difference between html and html5 answer 5.Difference between relative position and absolute position answer 6.Size of <title> tag in web page .... 7.Why use <meta> tag answer 8.What is semantic tag of html 5 answer 9.Diference between margin and padding answer 10.Difference between <a> and <button> answer 11. why use media query  you can give me Feedback in comment section.

web designing(polytechnic bteup) exam papers PGDCA download

Image
polytechnic bteup -download free question paper of web designing Download web designing paper(polytechnic bteup) semester-1 Paper name Download Link Web designing language Download Operating System Download Object Oriented Programming Language Download semester-2 Paper name Download Link Fundamental Of Information Tecnology Download Relational Database Management System Download Web Designing Tools Download you can give me Feedback in comment section.

#faceook cover free psd file download

Image
Download free original link simple click on download link and download free psd file you can give me review in comment section.

infographics free psd file download

Image
Download free original link simple click on download link and download free psd file you can give me review in comment section.

what is Attribute ?

आज हम जानेगे html में attribute  क्या होते है ?  Attribute   attribute  किसी भी टैग की addtional information   देता है  . एट्रिब्यूट हटम्ल टैग के साथ ही use  किये जाते है।   ex - size ,color ,height,width  etc .  <font size="12px"color="blue" >

how to add image on web page using html(hindi)

हेलो फ्रेंड्स आज  हम जानेगे की किसी भी वेब पेज में कोई इमेज कैसे लगाते  है।   html  क्या है ? अगर हमे कोई भी वेब पेज बनाना है तो हमे html के बारे में पता होना चहिये। html  का पूरा नाम hypertext  markup  language  है html  की मदत  से हम webpages  बना सकते  है। html  में कई सारे tags  होते है जिनकी मदत से हम simple text  को ऑनलाइन  पेज पर देख पाते है और कई  सारी  जैसे इमेज ,लिंक ऐड कर  सकते है।  इमेज कैसे ऐड करे अपने web पेज में ?   image  ऐड करने के लिए हम html  का tag  <img > का प्रयोग  करे है।  इस टैग  की मदत से ही हम अपने वेब पेज में कई सारे इमेज को लगा सकते है।   <img > टैग  का कोई क्लोजिंग टैग नही होता।  <img >टैग  के कई  एट्रिब्यूट (attribute ) होते है।    क्लीक करके जाने attribute  क्या होते है ?   Attribute of <img > टैग 1. src...

what is empty tags-
tag-
tag-hindi-html

EMPTY TAGS एम्प्टी टैग्स(EMPTY TAGS) बो टैग्स होते है जिनके क्लोजिंग टैग(CLOSING TAGS) नही होते | Example:        <br> tag             ये भी एक एम्प्टी टैग है क्योकि इसका कोई  क्लोजिंग टैग नही है और इसका इस्तमाल लाइन ब्रेक                     किया  जाता है |        <hr>tag             ये भी एक एम्प्टी टैग है जिसका इस्माल एक हॉरिज़ॉन्टली लाइन क्रिएट करने के लिए होता है | 

basic structure of html -hindi-html

<html>       <head>                <title> web 2 tags </title>     </head>   <body>             hellow world     </body> </html>    

what is hypertext in hinde -html

HYPERTEXT:- किसी भी वेब पेज पर जो भी  लिंक(LINK) होते है उन्हें हम हाइपरटेक्स्ट(HYPERTEXT) या हॉट कीवर्ड्स(HOT KEYWORDS) भी कहते है | इन्ही  लिंक की मदत से हम कई सारे  वेब पेजेज(WEB PAGES) को आपस में कनेक्ट(CONNECT) कर  सकते है |  ex:   google.com

what is HTML (Hypertext markup language).

Image
HTML एक हाइपरटेक्स्ट मार्कअप लैंग्वेज (HYPERTEXT MARKUP LANGUAGE) है जिसका इस्तमाल web pages  बनाने के लिए होता है | HTML की मदत से हे हम वेबसाइट(website) बना सकते है | HTML को टीम बर्नर ली( Tim Berners-Lee ) ने 1991 में publically introduce कराया था |   Tim Berners-Lee HTML कलेक्शन( collection) है   certain keywords का ज़ीने  हम टैग (tag) कहते है |  जैसे :- <html><head><body> ...etc. हटम्ल एक platform-independent language  है जो  की वेब ब्राउज़र पर रन होती  है | html document का एक्सटेंशन(extension)  .html होता है | HTML को रन करने के लिए  हमारे कंप्यूटर  में एक वेब ब्राउज़र (ex:- crome) होना चाहिए और इसे लिखने के लिए एक टेक्स्ट एडिटर(text editor)  ex:- notepad++ |