vildashnetwork02@gmail.com 654598457


CHAPTERTHREE

Be focused and you will archive alot. choose your ON javascript

Explore more

history of html

Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic odit rem dolorum molestiae fugit deserunt exercitationem recusandae, itaque ratione harum sit repellat dolor temporibus deleniti non voluptatem nostrum quas? Cumque veniam, molestias id natus pariatur dolores aut nemo iure facilis expedita, temporibus exercitationem ullam ex officiis reiciendis quaerat enim consequuntur.

Variables in JavaScript

Variables store data in JavaScript. There are three ways to declare variables:

var

(old, avoid using it)

let

(modern, used for variables that can change)

const

(used for variables that should not change)

JavaScript Arrays




What is an Array?

An array is a list that stores multiple values inside a single variable.

Think of an array like a shopping list:

let shoppingList = ["Milk", "Bread", "Eggs"];

Creating an Array

There are two ways to create an array:

* Using Square Brackets [] (Recommended)

let fruits = ["Apple", "Banana", "Orange"];

* Using the new Array() Constructor

let numbers = new Array(1, 2, 3, 4, 5);

Accessing Array Elements

You access an array by index.

The first item is at index 0. document.write(fruits[0]);

The second item is at index 1.

Apple document.write(fruits[1]);

              
Example:

let colors = ["Red", "Blue", "Green"]; 

colors.push("Yellow"); // ["Red","Blue", "Green", "Yellow"] 

colors.pop(); // ["Red", "Blue", "Green"] 

colors.unshift("Purple"); // ["Purple", "Red", "Blue", "Green"] 

colors.shift(); // ["Red", "Blue", "Green"]  
              
             


JavaScript Objects:



What is an Object?

An object in JavaScript is a collection of related data stored in key-value pairs. Instead of keeping multiple separate variables, an object groups related properties together.

Think of an object like a real-world thing. For example, a car has properties likebrand, model, and color.


You can loop through arrays using forEach().

              
let animals = ["Cat", "Dog", "Rabbit"]; 
                
animals.forEach(function(animal) { 

document.write(animal + "
"); });

<!DOCTYPE html>
<html> 
<head>
<title>Title of thePage</title>
</head> 
<body>
<h1>JavaScript Arrays</h1>  
<p id="output"></p>  
<script>
let fruits = ["Apple", "Banana", "Orange", "Mango"]; 

let result = ""; 

fruits.forEach(function(fruit) { 

result += fruit + "<br>"; 

}); 

document.getElementById("output").innerHTML = result;
</script>   
</body>
</html> 
            
Output:

Title of thePage

JavaScript Arrays






TESTIMONIES

vildash network team has had alot of impact on others but here are the vildash network team testimonies and expirience while working with the team

favour

am a graphic designer for vildash. when i first join vildash my first dream was programing but i got to know that programing neeeds alot of patients and coding but now my dream is more on the front end so i design graphics and make amazing ui/ux design. vildash is and amazing and great team

MR BK

when i first joined vildash my first vision was that i wanted to upgrade my skills and i really wanted to take a longer time but with vildash i got to know the fastest way in other to be perfect in programing and building amazing projects with ease

MR ENGEBEL

i was nothing in programing and i was discouraged cause i discovered that all programers had laptops but i didnt have and i got discouragecd cause, i thought i didnt evn have that chance to be a programer because of that but when i join vildash i got to know that its not just about the laptop its about the determination and if i have the determination i can archive. and i got to start programing with just my android phone and just like that am gradually getting there

MR LEWIS

vildash network has given me a chance to become a programmer, i now do thinks i didnt know i would be able to do, i now know tyhat i dont have to get distracted i need to stay focused and archive my goals

MR BROSKII

am a good programmer and i didnt have a team but i never knew how working with a team fills like but vildash network has given me the best expirience of how that feel, now i can boast of working with a team and the best team. it feels really greate cause with vildashi have to know that i can use my skills to do more than i dreamed of.

Events

you can now connect and text other users from our database. you just neeed to click bellow to message them

  • connect with programmers

    you can ask for help form them and also you can solve problems with them.

    click here to start chat
  • capabilities

    you can send and recieve messagies. you can send emojies, images, and you can also chat privately with a memeber and you can see when a member is online or offline

    click here to start chat

OUR CODE EDITORS

WE HAVE CODE EDITORS FOR LANGUAGES LIKE C, C#, C++, HTML, CSS, javascript, JAVA VISUAL BASIC

WHAT WE ARE OUT TO DO

We dont just teach you to code we teach you to code and build amazing systems.we are group of expert who wants to promote our field of studies