Friday, 14 August 2020

What is JavaScript ? and it's Syntax .

 

What is Javascript ?

Javscript is high lavel, interpreted programming language use to make  webpages  more intractive.

Javascript is scripting language that enables to create dynamic webpage and websites .It enables to controle mult-media ,animated images , etc.

It is an interpreted programming language with object oriented capabilities . 

Javascript  first known as LiveScript , but but Netscape changed its name to  JavaScript, possibly because of the excitement being generated by JAVA.

JavaScript made its first appearance in Netscape 2.0 in 1995 with the name LiveScript.

  • Javscript is lightweight programming language 
  • Javscript is have a object oriented capabilities
  • Design for creating network-centeric applications 
  • open and cross platform 

Javascript is a  client side scripting language

 

A client side scripting is common form of the language.The Script should be included refrenced by an HTML document for the code to be interpreted by Browser .

It means that a web page need note be a ststic HTML, but can included program, that interact with the user, control the browser and dynamically create HTML document .

The JavaScript client - side mechanism provides many advantages over traditional . CGI server side scripts.For example , you might use Javascript to check if the user has  entered a valid e-mail address in a form field .

The JavaScript code is executed when the user submits the form , and only if all the enteries are valid, they would be submitted to the web server.

JavaScript can be used to trap user-initiated events such as button clicks , links navigation, and other actions that the user initiates explicitly or implicity.


Advantages of JavaScript

1.Less Server interaction :- You can velidate user input before sending the page of to the server. This saves server traffic,which means less load on your server.
 

2.Immediate Feedback to visitors :- They don't have to  wait for a page reload to see they have forgot to enter something .

3.Increassed interactivity :- You can create interfaces that react when the user hovers over them with a  mouse or activates them via a keyboard.

4.Richer interfaces :- You can use JavaScript to include such items as drag-and-drop componentes or sliders to give a rich  interface to your site visitors 


Simple Syntax Of JavaScript

JavaScript can be implimented using JavaScript starments that are placed within the <script>......</script> HTML tags in a web page .

You can place the <script> tags,containing your JavaScript, anywhere within you web page, but it is normally recommnded that you  should keep it within the <head> tags.

The <script> tag allerts the browser to program to start interpreting all the text between these tags as a script. A simple syntax of your JavaScript will appeare as follows.

-----------------------------------------------------------------------------------------------------------------------------
<script....>                                                                                  
                                                                                                   
             JavaScript code 

</script>
-----------------------------------------------------------------------------------------------------------------------------

So your JavaScript syntax will look as follows.

<script language="JavaScript" type="text/JavaScript">
JavaScript code 
</script>

So your JavaScript syntax will look as follows.
  • Language :- This attribute specifies what scripting language you are using . Typically, its value will be javascript. Although recent versions of  HTML(and XHTML, its successor) have phased out the use of this attribute.
  • Type :- This attribute is what is now recommended to indicate the scripting language in use and its value should be set to "text/javascript".


JavaScript are write in two ways :-
  • Internal JavaScript
  • External JavaScript

1.Internal JavaScript :-
  
  JavaScript code placed in the head and body section in HTML documents this are called a internal JavaScript.

ex.:-

<html>
<head>
        <script type="text/javascript">
                             javascript code
        </script>
</head>
<body>
            <script type="text/javasript">
                                          javascript code 
            </script>
</body>
</html>




2.External JavaScript :-


As you begin to work more extensively with JavaScript , you will be likely to find that there are cases where you are reusing identical JavaScript code on multiple pages of a sites

You are note restricted to be maintaining identical code in multiple HTML files. The script tag provides a mechanism to allow you to store JavaScript in an external file and then include it into your HTML files.

Here is an example to show how you can include an external JavaScript file in
your HTML code using script tag and its src attribute.




<html>
<head>
            <script type="text/javascript" src="file.js"> 
            </script>
</head>
<body>


</body>
</html>
    

Friday, 24 July 2020

If I am using link tag in the head part of my HTML web page which method of CSS I am applying to my webpage ?

If I am using link tag in the head part of my HTML web page which method of CSS I am applying to my webpage ?


Hello Guys Welcome my Website today i will solve a qustion to   if you using link tag in the head part of your HTML webpage so which  method of CSS are applying by you on your webpage ?  and also discuss about how to link a CSS file with HTML page  ?
So lets start

1.what is CSS ?

CSS stand for Cascading Style Sheets .CSS is a style sheet language used for describing a prasentation of document written in markup language like HTML.
A CSS is a cornerstone technology of the World Wide Web ,Alongside HTML and Javascript.
You can design your page through CSS. and dyanamicaly .

 

2.How CSS use ?

CSS are using in two type igther you are creating external CSS or internal CSS.
1.Internal CSS
2.External CSS

How to Link a Style Sheet (CSS) File to Your HTML File

Embedding CSS rules to HTML can be time-consuming and energy-wasting. Luckily for you, there is another way to do it. Here, we’ll uncover how to link CSS to HTML file. By using the following method, you’ll get to combine both CSS and HTML in the most efficient way.
CSS is a style sheet language that manages the website’s visual representation. Commonly used with markup languages like HTML, CSS allows you to style each HTML element and give your overall site a more appealing look.
While there are many ways to add CSS to HTML, the simplest method of doing it is by adding all the CSS rules to the HTML directly. Despite so, this CSS method carries many disadvantages. Aside from bloating your code with repetitive CSS rules, its editing process is time-consuming as changes made in one file won’t apply to the others.
To avoid these hassles, you can put the CSS styles into a .css file and link it to the HTML files. That way, one CSS file can be used to style many HTML pages.
Here are the advantages of linking a CSS file to HTML:
  • Time-effective — you only need to create a single CSS file to style all HTML files.
  • Faster load time — the site will cache the CSS file for your visitors’ next visit.
  • Improve SEO — storing CSS styles in another file makes the HTML file more concise and readable by search engines.

3.How to Connect a CSS External Style Sheet to HTML File


To link CSS to HTML file,we use the <link> tag , that write in HTML's <head> Section .Look like this

<html>
<head>
<link>     </link>
</head>
<body>
body of code..........................................
</body>
</html>


Ectually a <link> are written of this type
<link rel="stylesheet" type="text/css" href="stylesheet.css" media="screen"/>

  • rel — defines the relationship between the file that hosts this command and the file defined in the href attribute. The standard value for this attribute is stylesheet.
  • type — defines the content of the linked file. In this tutorial, we set this attribute’s value to text/css. However, you can skip it altogether if you’re using HTML5.
  • href — specifies the location of the CSS file you want to link to the HTML. If the CSS file is in the same directory as the HTML file, you only need to enter the file name. Otherwise, you need to include the folder name in which you store the CSS file (example: CSS/stylesheet.css).
  • media — specifies the type of media the CSS rules are optimized for. In this tutorial, we use the screen value to imply its use for computer screens. If you want to apply the CSS rules to printed pages, you can set the value to print.
 

Monday, 11 May 2020

Realme Narzo 10, Narzo 10A India launch set for today: How to watch, price, and specifications

Realme Narzo 10







  • - Narzo 10 is likely a rebadged version of Realme 6i.
  • - Narzo 10 is said to be a rebranded Realme C3 triple-camera model.




Camera


48MP AI Quad Camera
Rear Camera
  • 48MP Primary camera
    f/1.8 Aperture
  • 8MP Ultra wide-angle lens
    FOV 119°, f/2.3 Aperture
  • B&W Portrait lens
    f/2.4 Aperture
  • 2MP Macro lens
    4cm focus, f/2.4 Aperture
  • Video recording:
    Support 1080P/30fps video recording
    Support 720P/30fps video recording
  • Selfie
    16MP Primary camera
    f/2.0 Aperture



Processor

                  MediaTek Helio G80
                  
                 CPU :- Octa-core, Up to 2GHz

                 GPU :- Mali-G52


Storage & RAM 

          RAM :- 4GB LPDDR4x
               ROM :- 128GB 


Display

           16.5cm(6.5") Moni-drope Full Screen

                Resolution :- 1600*720 HD+

                Screen-to-Body ratio :- 89.8%


Charging &
Battery

                             5000mAh(Typical Value)

                             18W Quick Charger

                             USB type :- C-Port


Size &
Weight

                     Height :- 164.4mm

                               Width :- 75.4mm

                               Depth :- 9.0mm*

                              Weight :- 199g


Operating System

                               Realme UL

                               based on Android 10


Navigation 

                                GPS/AGPS/Glonass/Beidou



Network & Connectivity


                              
                  3 card Slote 
                  2 Sim Slot + 1 MicroSD card

                 Frequency band

                 GSM :- 850/900/1800/1900
                 WCDMA :- B1/5/8
                 FDD-LTE :- Bands 1/3/5/8
              TD=LTE :- Bands 38/40/41 (2535=2655MHz

              Wireless Network

               2.4 GHz
               802.11 b/g/n
               Bluetooth 5.0
 

RED MI NOTE 9 PRO MAX | 64MP Quad Camera Array 32MP In-Display Selfie Camera

RED MI NOTE 9 PRO MAX










NETWORK     


TechnologyGSM / HSPA / LTE
2G bandsGSM 850 / 900 / 1800 / 1900 - SIM 1 & SIM 2
3G bandsHSDPA 850 / 900 / 1900 / 2100
4G bands1, 3, 5, 8, 40, 41
SpeedHSPA 42.2/5.76 Mbps, LTE-A



                      

                     Wi-FiWi-Fi 802.11, a/ac/b/g/n, MIMO

Wi-Fi FeaturesWi-Fi Direct, Mobile Hotspot
Wi-Fi Callingyes
Bluetoothyes v5.0
GPSyes with A-GPS, Glonass
USB ConnectivityMass storage device, USB charging

DISPLAY

                          16.9cm (6.67) FHD+ resolution DotDisplay
                          Resolution: 2400 x 1080 FHD+
                          Brightness: 450nit (typ)
                          Contrast: 1500:1 (typ) | NTSC: 84% (typ)
                          Standard mode | Sunshine mode | Night mode | Color temperature adjustment
                          Corning® Gorilla® Glass 5
                          Anti-oil and anti-fingerprint protective coating

DIMENSSION


                          Height: 165.5mm
                          Width: 76.68mm
                          Thickness: 8.8mm
                          Weight: 209g


STORAGE(RAM AND ROM)

                          8GB + 128GB
                          largest available for Redmi Note 9 Pro Max
                          RAM: 6GB/8GB LPDDR4x
                          ROM: 64GB/128GB UFS2.1 flash storage



MAIN 
CAMERA 

                          64MP AI Quad Camera
                          64MP primary camera
                          1/1.7 inch CMOS image sensor, 1.6μm 4-in-1 Super Pixel, f/1.89

                          8MP ultra-wide angle camera
                          1.12μm,f/2.2,FOV 119°

                          5MP macro camera
                          2cm focus distance,1.12μm

                         2MP depth sensor
                         1.75μm

                         Zoom:10x digital zoom
                         PDAF
                         Single-tone flash

==>Rear camera photography features
64MP UHD | Ultra nightscape mode | AI scene detection | Smart ultra-wide angle mode | Ultra wide-angle edge distortion correction | AI Beautify | Burst mode | Tilt-shift | Level display | Custom watermark | Pro mode | Portrait mode background blur adjustment | Studio lighting | Panorama mode | AI high resolution photos

Rear camera video features
Short video editing | ultra-wide angle video recording | macro video recording | 960 fps slow motion video | Rear camera video Beautify | Time-lapse photography | Pro video mode | Movie frame | Super stabilization

                         4K recording 30fps
                         1080P recording 60fps / 30fps
                         720P recording 30fps
                         1080P ultra-wide angle video recording 30fps
                         720P ultra-wide angle video recording 30fps
                         1080P slow motion recording 120fps
                         720P slow motion recording 960fps / 240fps / 120fps


SELFIE
CAMERA

                         32MP In-Display Front Camera
                         32MP,1.6μm, 4-in-1 Super Pixel

==>Front camera photography features
Panorama selfie | Palm shutter | AI silhouette detection | Wide-angle distortion correction | Front camera HDR | Front camera display brightness correction | Selfie timer | Face recognition | Magic mirror | Age recognition | Full screen camera frame | Eye light | AI Beautify | AI feature adjustment | AI makeup | AI portrait mode | AI scene detection | AI studio lighting | Kaleidoscope

==>Front camera video features
                        Front camera video Beautify | Short videos (speed adjustment beauty filters and popular music) | 120fps slo-mo video recording | Kaleidoscope

                             1080P, 720P recording 30fps

                             Slo-mo video recording 120fps


PROCESSOR

                            Qualcomm® Snapdragon™ 720G
                            2x Gold 2.3GHz + 6x Silver 1.8GHz
                            Adreno A618 @750MHz GPU
                            6/8 GB LPDDR4x RAM

                             

OPERATING SYSTEM

                           
                            MIUI 11



SENSOR

                             Fingerprint Sensor          yes
                             fingerprint Sensor Position          Side                             Ambient Light Sensor
                             Proximity Sensor
                             E Compass
                             Accelerometer
                             Gyroscope

MULTIMEDIA

                            MP4 | M4V | MKV | XVID | WAV | AAC | MP3 | AMR | FLAC | APE

Wednesday, 6 May 2020

Redmi Note 9 Pro || Now in market red mi note 9 pro is available

Redmi Note 9 Pro:-



     




Specification :-



Ram                                4GB/6GB

Rom                                64GB/28GB

battery                             5020mAh (typical) Li Polymer


camera                             48mp rear camera (48+8+5+2)   And 16mp Front camera 

Processor                         Qualcomm® Snapdragon™ 720G

  
               

Full Details About Device 

1.Storage and RAM
==>     6GB + 128GB
                     largest available for Redmi Note 9 Pro
                   RAM: 4GB/6GB LPDDR4x
                   ROM: 64GB/128GB UFS2.1 flash storage
2.Processor 
===>

Qualcomm® Snapdragon™ 720G

                     2x Gold 2.3GHz + 6x Silver 1.8GHz
                     Adreno A618 @750MHz GPU
                    6/8 GB LPDDR4x RAM
3.Display

16.9cm (6.67) FHD+ Resolution DotDisplay

Resolution: 2400 x 1080 FHD+
Brightness: 450nit (typ)
Contrast: 1500:1 (typ) | NTSC: 84% (typ)
Standard mode | Sunshine mode | Night mode | Color temperature adjustment
Corning® Gorilla® Glass 5
Anti-oil and anti-fingerprint protective coating
4.Operating SysteBattery

5020 mAh (typical) Li Polymer

Built-in rechargeable battery
USB Type-C reversible connector port
Includes an 18W Fast Charger
Max 18W fast charging
6.NetWork and Connectivity

==>Both cards can access 4G connectivity                  simultaneously

nanoSIM + nanoSIM + microSD
microSD expandable up to 512GB
Triple slot tray
Supports 4G+/4G/3G/2G
Supports dual SIM VoLTE HD calling
Note: Dual 4G SIM requires the support of local telecom operator services,
and may not be available in all regions.

==> Network & Connectivity

GSM:B2/3/5/8
WCDMA:B1/2/5/8
LTE FDD:B1/3/5/8
LTE TDD:B40/41(2535-2655MHz)
DLCA:40A+40A,1C,3C,40C,41C
ULCA:3C,40C,41C

==> Wireless Network
Supports protocols: 802.11a/b/g/n/ac
Supports 2.4G Wi-Fi / 5G Wi-Fi
Supports 2 x2 WiFi MIMO
Wi-Fi Direct / Wi-Fi Display
Supports Bluetooth 5.0
Support VoWiFi

7.Dimensions
Height: 165.75mm
Width: 76.68mm
Thickness: 8.8mm
Weight: 209g

8.Navigation and positioning

NavIC support/ GPS/ A-GPS / Galileo/ GLONASS / BeiDou

9.Audio

Single (bottom opening) speaker
3.5mm headphone jack
2 microphones (for noise cancellation)
Smart PA

==>Multimedia
MP4 | M4V | MKV | XVID | WAV | AAC | MP3 | AMR | FLAC | APE

==>Sensors
Ambient Light Sensor
Proximity Sensor
E Compass
Accelerometer
Gyroscope

==>Package contents
Net quantity 1 U
1 U Contains:
Redmi Note 9 Pro 1 U ,
18W Power adapter 1 U ,
Soft protective case 1 U ,
USB Type-C cable 1 U ,
SIM ejection tool 1 U ,
User guide 1 U ,
Warranty card 1 U
Know time for See about the camera 

==> Rear Camera





                   48MP primary camera
               1/2.25 inch CMOS image sensor, 1.6μm 4-in-1 Super Pixel, f/1.79

               8MP ultra-wide angle camera
               1.12μm,f/2.2,FOV 119°

                5MP macro camera
               1.12μm, 2cm focus distance

                2MP depth sensor
               2MP,1.75μm

               Zoom:10x digital zoom
               PDAF
               Single-tone flash
         >>Rear Camera Photography Features
                
Ultra nightscape mode | AI scene detection | Smart ultra-wide angle mode  | Ultra wide-angle edge distortion correction | AI Beautify | Burst mode | Tilt-shift | Level display | Custom watermark | Pro mode | Portrait mode background blur adjustment | Studio Lighting | Panorama mode | AI high resolution photos


      >>Rear camera video features

Short video editing | ultra-wide angle video recording | macro video recording
4K recording - 30fps
1080P recording - 60fps / 30fps
720P recording - 30fps
1080P ultra-wide angle video recording - 30fps
720P ultra-wide angle video recording - 30fps
1080P slow motion recording - 120fps
720P slow motion recording - 960fps / 240fps / 120fps


==>> Front Camera :-

                       16 mp Front Camera
                        1μm

          >>Front camera photography features

Panorama selfie | Palm shutter | AI silhouette detection | wide-angle distortion correction | Front camera HDR | Front camera display brightness correction | Selfie timer | Face recognition | Age recognition | Full screen camera frame | AI Beautify | AI feature adjustment | AI makeup | AI portrait mode | AI scene detection | AI studio lighting

            >>Front camera video features

Front camera video Beautify | Short videos (speed adjustment beauty filters and popular music)
1080P/ 720P recording30fps
Slo-mo video recording120fps

Thursday, 30 April 2020

google pixel 4a specifications

Google Pixel 4a   


Google Pixel 4A


  

 Expected Price of Mobile :- 40,000Rs.


Expected Date To Release :- 22/05/2020 (Expected)



Google pixel 4a Specification  :-

                                                                                                                                                                  
                                                                   
 Key Space :-                                                                
                               

                                      Ram

                                      Processor                            
                                                                            
                                      Rear Camera                   
                                                                           
                                      Front Camera               

                                      Battery                               
                                                                            
                                      Display                               
                                                                           
                                                                                                                                                                
                            
  General :-                                                              
                                                                            
                               Launched Date :-               
                                                                            
                               Brand :-                              
                                                                           
                               Model :-                              
                                                                          
                               OS(operating System) :-   
                                                                          
                               Sim Slot :-                        
                                                                          
                               Sim Size :-                        
                                                                          
                              Network Supported :-    
                                                                        
                              Fingerprint sensor :-     
                                                                                                                  
                             Quick Charging :-           
                                                                                                     
                                                                                                                                                                 
                                                                           

                                                                         Design :-                                                          

                                                                          
                                                                          
                                Color :-    
                        
                                                                         
                                 WaterProof :-   
             
                                                                        
                                 Dust :-                            
                                                                         
                                                                                                                                                
                                                                                                                                                                 



 Display :-


                                              Screen Size                   5.81 inches (14.76 cm)


                                             Screen Resolution           1080 x 2340 pixels


                                               Aspect Ratio                      18.5:9


                                              Bezel-less display              yes with punch-hole display


                                              Pixel Density                       444 ppi


                                            Display Type                        OLED


                                           Screen Protection                        Corning Gorilla Glass v5


                                            Touch Screen                        yes Capacitive Touchscreen, Multi-                                                                                                            touch                                     


                                                                                                                                                                                                                       


   Performance  :-


                                             Chipset                                Qualcomm Snapdragon 730G


                                              Processor                                 Octa core (2.2 GHz, Dual core,                                                                                                                  Kryo  470 + 1.8 GHz,                                                                                                                                Hexa Core, Kryo 470)


                                               Architecture                       64 bit


                                               Graphics                               Adreno 618


                                                  RAM                               6 GB Storage


                                                Internal Memory                          64 GB


                                                Expandable Memory        no No

                                                                                                                                                                  


Camera :-


MAIN CAMERA
                                     Camera Setup  Dual
                                     

                                      Resolution 12.2 MP Primary  8 MP, Wide Angle, Ultra-Wide Angle                                                                           Camera
                                         
                                      Sensor Exmor-RS CMOS Sensor


                                       Autofocus yes Phase Detection autofocus, Dual Pixel autofocus


                                       Optical Image Stabilisation yes
                                        

                                         Flash yes LED Flash


                                        Image Resolution 4000 x 3000 Pixels


                                         Settings Exposure compensation


                                          Shooting Modes Continuos Shooting, High Dynamic Range mode                                                                                     (HDR)


                                           Camera Features Digital Zoom, Auto Flash, Face                                                                                                                 detection,Touch   to focus


                                           Video Recording 3840x2160 @ 30 fps, 1920x1080 @ 60 fps,                                                                                               1280x720 @ 240 fps


FRONT CAMERA


                                              Camera Setup Single


                                              Resolution 8 MP, Wide Angle Primary Camera



                                                                                                                                                                   

Battery :-


                                         Capacity 3080 mAh

                                          Type Li-ion


                                          User Replaceable no No


                                          Wireless Charging yes


                                          Quick Charging yes Fast, 18W


                                           USB Type-C yes



                                                                                                                                                                   


Network & Connectivity :-


                                       SIM Size SIM1: Nano, SIM2: eSIM


                                       Network Support 4G (supports Indian bands), 3G, 2G


                                       VoLTE yes


                                        SIM 1 4G Bands:TD-LTE 2300(band 40)
                                                                FD-LTE 1800(band 3) 
                                                                3G Bands:UMTS 1900 / 2100 / 850 / 900 MHz2G                                                                                  Bands:GSM 1800 / 1900 / 850 / 900 MHz
                                                                GPRS:AvailableEDGE:Available


                                       SIM 2 4G Bands:TD-LTE 2300(band 40)
                                                                FD-LTE 1800(band 3)
                                                                3G Bands:UMTS 1900 / 2100 / 850 / 900 MHz2G                                                                                  Bands:GSM 1800 / 1900 / 850 / 900 MHz
                                                                GPRS:AvailableEDGE:Available


                                       Wi-Fi yes Wi-Fi 802.11, ac/b/g/n/n 5GHz, MIMO


                                       Wi-Fi Features Mobile Hotspot


                                        Bluetooth yes v5.0

                                        GPS yes with A-GPS, Glonass


                                        USB Connectivity Mass storage device, USB charging 

                                                                                                                                                                   



MultiMedia :-



                                         Loudspeaker yes


                                         Audio Jack 3.5 mm


                                                                                                                                                               




Special Features :-

                                       Fingerprint Sensor yes


                                       Fingerprint Sensor Position Rear


                                       Other Sensors Light sensor, Proximity sensor, Accelerometer,                                                                                        Compass, Gyroscope