Pinned Repositories
Assignment-01-ALERTS-
The alert box takes the focus away from the current window, and forces the user to read the message. Do not overuse this method. It prevents the user from accessing other parts of the page until the alert box is closed.
Assignment-02-VARIABLES-FOR-STRINGS-
To declare variables in JavaScript, you need to use the var, let, or const keyword. Whether it is a string or a number, use the var, let, or const keyword for its declaration. But for declaring a string variable we had to put the string inside double quotes or single quotes
Assignment-03-Variables-For-String-
To declare variables in JavaScript, you need to use the var, let, or const keyword. Whether it is a string or a number, use the var, let, or const keyword for its declaration. But for declaring a string variable we had to put the string inside double quotes or single quotes
Assignment-04-VARIABLE-NAMES-LEGAL-ILLEGAL-
The first character must be a letter or an underscore (_). You can't use a number as the first character. The rest of the variable name can include any letter, any number, or the underscore. You can't use any other characters, including spaces, symbols, and punctuation marks.
Assignment-05-MATH-EXPRESSIONS-
You've already seen examples of adding in JS, using the + operator. You can also use - for subtraction, * for multiplication, / for division, and % to take the remainder. Here are examples of those in action:
Assignment-06-06-09-MATH-EXPRESSIONS-
You've already seen examples of adding in JS, using the + operator. You can also use - for subtraction, * for multiplication, / for division, and % to take the remainder. Here are examples of those in action:
Assignment-07-09-11-USER-INPUT-CONDITIONAL-STATEMENT-
Use if to specify a block of code to be executed, if a specified condition is true Use else to specify a block of code to be executed, if the same condition is false Use else if to specify a new condition to test, if the first condition is false
Assignment-08-12-13-IF...ELSE-ELSE-IF-STATEMENT-TESTING-SET-OF-CONDITIONS-
Use if to specify a block of code to be executed, if a specified condition is true Use else to specify a block of code to be executed, if the same condition is false Use else if to specify a new condition to test, if the first condition is false
Assignment-09-14-16-ARRAYS-
The Array object lets you store multiple values in a single variable. It stores a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.
Assignment-1
Shayankhatri23's Repositories
Shayankhatri23/Assignment-01-ALERTS-
The alert box takes the focus away from the current window, and forces the user to read the message. Do not overuse this method. It prevents the user from accessing other parts of the page until the alert box is closed.
Shayankhatri23/Assignment-02-VARIABLES-FOR-STRINGS-
To declare variables in JavaScript, you need to use the var, let, or const keyword. Whether it is a string or a number, use the var, let, or const keyword for its declaration. But for declaring a string variable we had to put the string inside double quotes or single quotes
Shayankhatri23/Assignment-03-Variables-For-String-
To declare variables in JavaScript, you need to use the var, let, or const keyword. Whether it is a string or a number, use the var, let, or const keyword for its declaration. But for declaring a string variable we had to put the string inside double quotes or single quotes
Shayankhatri23/Assignment-04-VARIABLE-NAMES-LEGAL-ILLEGAL-
The first character must be a letter or an underscore (_). You can't use a number as the first character. The rest of the variable name can include any letter, any number, or the underscore. You can't use any other characters, including spaces, symbols, and punctuation marks.
Shayankhatri23/Assignment-05-MATH-EXPRESSIONS-
You've already seen examples of adding in JS, using the + operator. You can also use - for subtraction, * for multiplication, / for division, and % to take the remainder. Here are examples of those in action:
Shayankhatri23/Assignment-06-06-09-MATH-EXPRESSIONS-
You've already seen examples of adding in JS, using the + operator. You can also use - for subtraction, * for multiplication, / for division, and % to take the remainder. Here are examples of those in action:
Shayankhatri23/Assignment-07-09-11-USER-INPUT-CONDITIONAL-STATEMENT-
Use if to specify a block of code to be executed, if a specified condition is true Use else to specify a block of code to be executed, if the same condition is false Use else if to specify a new condition to test, if the first condition is false
Shayankhatri23/Assignment-08-12-13-IF...ELSE-ELSE-IF-STATEMENT-TESTING-SET-OF-CONDITIONS-
Use if to specify a block of code to be executed, if a specified condition is true Use else to specify a block of code to be executed, if the same condition is false Use else if to specify a new condition to test, if the first condition is false
Shayankhatri23/Assignment-09-14-16-ARRAYS-
The Array object lets you store multiple values in a single variable. It stores a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.
Shayankhatri23/Assignment-1
Shayankhatri23/Assignment-10-17-21-Array-And-Loop-
A loop is a type of computer program that allows us to repeat a specific operation a predetermined number of times without having to write that operation individually. For example, if we have an array and want to output each element in the array, rather than using the index number to do so one
Shayankhatri23/Assignment-11-21-25-String-Methods-
JavaScript automatically converts primitive strings to String objects so that it's possible to use String methods and access properties even for primitive strings.
Shayankhatri23/Assignment-12-26-30-Math-Methods-
Mathematics plays an integral part in computer science and coding. Programmers use mathematical methods and expressions to perform calculations for all sorts of different reasons during development. Luckily, JavaScript provides various built-in methods that can make your life a whole lot easier.
Shayankhatri23/Assignment-13-31-34-Date-Methods-
JavaScript provides Date object to work with date & time, including days, months, years, hours, minutes, seconds, and milliseconds. Use the Date() function to get the string representation of the current date and time in JavaScript. Use the new keyword in JavaScript to get the Date object.
Shayankhatri23/Assignment-14-35-38-Function-
Functions are one of the fundamental building blocks in JavaScript. A function in JavaScript is similar to a procedure—a set of statements that performs a task or calculates a value, but for a procedure to qualify as a function,
Shayankhatri23/Assignment-2
Shayankhatri23/Assignment-3
Shayankhatri23/Assignment-4
Shayankhatri23/Assignment-5
Shayankhatri23/CSS-CHESS-ASSIGNMENT
Shayankhatri23/CSS-FACEBOOK-ASSIGNMENT
Shayankhatri23/CSS-Happy-New-Year-Assignment
Shayankhatri23/CSS-PORTFOLIO-ASSIGNMENT
img,p,div,class,id external css margin,padiing font size,weight,family background color,position top,left,right h1,h2,h3,h4,h5,h6,p,hr,br,name,value external css background image,border font size,font weight color class,id
Shayankhatri23/CSS-YOUTUBE-ASSIGNMENT
img,p,div,class,id external css margin,padiing font size,weight,family background color,position top,left,right h1,h2,h3,h4,h5,h6,p,hr,br,name,value external css background image,border font size,font weight color class,id
Shayankhatri23/test-repository