Question
2. Lucky number, jQuery version (1/3 of points) Overview: sftwear has found that their lucky number T-shirt is a big seller and wants improve the
2. Lucky number, jQuery version (1/3 of points) Overview: sftwear has found that their lucky number T-shirt is a big seller and wants improve the web page to use some JQuery to offer their customers a T-Shirt with a phrase you provide. Requirements: Rewrite the lucky number project you did for project 2 part 2, but this time using jQuery. You do NOT have to use Keypress or keyboard events you can simply use prompt to get the input. This means you'll have all your code in the $document ready The requirements are the same (see that project), but the program will be different. Why? You'll be using JQuery and you have to replace the document.write with a HTML tag and JQuery selector setting the resulting message in the page. See example lecture 2\scores\indexv6.html Helpful Hints: See example: I suggest using as a model any of the jQuery "seconds to days" projects presented in class. You don't not have to use a button or keypress event. You may just use prompt to get the user input. Name the folder holding the project files p3_2. 3. Lexicographic ordering using JQuery (1/3 of points) Overview: sftwear wants to offer their customers a T-Shirt that lists favorite words in sorted order. Requirements: Make this a JQuery application Prompt the user for a series of words, storing them in an array as each is entered. You will use the cancel key, which returns null to check if the user is done entering input Once the words are all entered, alphabetize (e.g.; sort) the words in the array then display the array contents using the join() method. Helpful Hints: You are going to need to use a loop (e.g. do while to loop until the user enters all value) Display the array contents using the join() method. To alphabetize means to sort the array. Say that your array is called words. To sort it in ascending order use the statement words.sort();. See examples: Lecture02\Scores\index1.html (don't convert the input to number though) Name the folder holding the project files p3_3.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started