Journey of DLithe Bootcamp .NET Full Stack Week 3(Feb7-Feb12)
--
Assignment №15: DLithe_BC_NFS_T_Task15_Bootstrap
Date: 07–02–2022
The task assigned in to implement a responsive webpages as per the below requirements:
- Popover
- Progressbar
- Tab
- Pill
- Scrollspy
- .JavaScript alert
Popover
The Popover plugin is similar to tooltips; it is a pop-up box that appears when the user clicks on an element. The difference is that the popover can contain much more content.
Progressbar
A progress bar can be used to show a user how far along is in a process.
Tabs
Takes the basic nav from above and adds the .nav-tabs
class to generate a tabbed interface. Use them to create tabbable regions with our tab JavaScript plugin.
Pills
Pills are quasi-navigation components which can highly improve website clarity and increase user experience
Scrollspy
Automatically update Bootstrap navigation or list group components based on scroll position to indicate which link is currently active in the viewport.
JavaScript alert
The alert()
method displays an alert box with a message and an OK button.
The alert()
method is used when you want information to come through to the user.
Outputs
— — — — — — — — — — — — — — — — — — — — — — — —
Assignment №16: DLithe_BC_NFS_T_Task16_Javascript
Date: 08–02–2022
- Functions with parameters
- Show the working of any 5 events in js
- Use of innerHTML with any 5 elements
- Change background image using js
— — — — — — — — — — — — — — — — — — — — — — — —
Assignment №17: DLithe_BC_NFS_T_Task17_JavascriptExceptionHandling
- Arrays and Array methods
- Date Functions
- Math Functions
- String Methods
- Exception Handling
splice()
The splice() method adds and/or removes array elements.
The splice() method overwrites the original array.
slice()
The slice() method returns a shallow copy of a portion of an array into a new array object selected from begin to end (end not included). The original array will not be modified.
The slice() method does not alter the original array, and both arrays will have the same behavior after any change to one is applied to the other.
sort()
The sort() method sorts the elements of an array in place and returns the sorted array.
The sort() method does not change the original array, and both arrays will have the same behavior after any change to one is applied to the other.
reverse()
he reverse() method reverses an array in place. The first array element becomes the last and the last becomes the first.
The reverse() method does not change the original array, and both arrays will have the same behavior after any change to one is applied to the other.
Join()
The join() method joins the elements of an array into a string.
The join() method does not change the original array, and both arrays will have the same behavior after any change to one is applied to the other.
pop()
The pop() method removes the last element from an array and returns that element.
The pop() method does not change the original array, and both arrays will have the same behavior after any change to one is applied to the other.
push()
The push() method adds one or more elements to the end of an array and returns the new length of the array.
The push() method does not change the original array, and both arrays will have the same behavior after any change to one is applied to the other.
shift()
The shift() method removes the first element from an array and returns that element.
The shift() method does not change the original array, and both arrays will have the same behavior after any change to one is applied to the other.
unshift()
The unshift() method adds one or more elements to the front of an array and returns the new length of the array.
The unshift() method does not change the original array, and both arrays will have the same behavior after any change to one is applied to the other.
entries()
The entries() method returns a new Array Iterator object that contains the key/value pairs for each index in the array.
The entries() method does not change the original array, and both arrays will have the same behavior after any change to one is applied to the other.
concat()
The concat() method is used to join two or more arrays, and returns a copy of the joined arrays.
The concat() method does not change the original array, and both arrays will have the same behavior after any change to one is applied to the other.
filter()
The filter() method creates a new array with all elements that pass the test implemented by the provided function.
The filter() method does not change the original array, and both arrays will have the same behavior after any change to one is applied to the other.
indexOf()
The indexOf() method returns the first index at which a given element can be found in the array, or -1 if it is not present.
The indexOf() method does not change the original array, and both arrays will have the same behavior after any change to one is applied to the other.
lastIndexOf()
The lastIndexOf() method returns the last index at which a given element can be found in the array, or -1 if it is not present.
The lastIndexOf() method does not change the original array, and both arrays will have the same behavior after any change to one is applied to the other.
charAt()
charAt() method returns the character at the specified index.
concat()
concat() method joins two or more strings, and returns a new string.
indexOf()
indexOf() method returns the position of the first occurrence of a specified text in a string.
toLowerCase()
toLowerCase() method converts a string to lowercase letters.
toUpperCase()
toUpperCase() method converts a string to uppercase letters.
trim()
trim() method removes whitespace from both ends of a string.
split()
split() method splits a string into an array of substrings.
Global Variable
Global Variable is a variable that is defined outside of a function.
Local Variable
Local Variable is a variable that is defined inside a function.
try
try is a statement that allows you to execute a block of code.
try-catch
try-catch is a statement that allows you to execute a block of code.
try-catch-finally
try-catch-finally is a statement that allows you to execute a block of code.
math functions — >
Math.E
The value of the mathematical constant E, approximately 2.718281828459045.
Math.LN10
The natural logarithm of 10, approximately 2.302585092994046.
Math.LN2
The natural logarithm of 2, approximately 0.6931471805599453.
Math.LOG10E
The base-10 logarithm of E, approximately 0.4342944819032518.
Math.PI
The value of the mathematical constant PI, approximately 3.141592653589793.
Math.SQRT1_2
The square root of 1/2, approximately 0.7071067811865476.
Math.SQRT2
The square root of 2, approximately 1.4142135623730951.
Math.abs()
Returns the absolute value of a number.
Math.acos()
Returns the arccosine (in radians) of a number.
Math.ceil()
Rounds a number up, away from zero.