1. How to add an element horizontally in Html page using JavaScript?
2. Write a JavaScript program to validate whether a given password is the same in the box retype
password and validate that the password is not more than 8 characters
3. How to add an element horizontally in Html page using JavaScript?
4. Write a program javascript to find a string is palindrome or not?
5. Write a JavaScript program to sort a list of elements using Cocktail shaker sort.
6. Write a JavaScript program to validate whether a given password is the same in the box retype
password and validate that the password is not more than 8 characters
7. Write java script, to accept marks in three subjects input and print-Tomarks obtained and
Result. If the total marks obtained is 150 or more, then only the candidate should be declared
pass otherwise she should be declared Fail. The Output should display only using input box
Means don't use box like alert, Confirm, Prompt etc.
8. Write a javaScript a loop that will iterate from 0to 15. For each iteration ,it will check if the
current number is odd or even, and display a message to the screen ?