Question: Write in Javascript format that works Task 1 (Strings and String Methods) You are required to create a small application (HTML and JavaScript) that gets

Write in Javascript format that works

 Write in Javascript format that works Task 1 (Strings and String

Task 1 (Strings and String Methods) You are required to create a small application (HTML and JavaScript) that gets an ISBN number and manipulates that ISBN using string methods. The ISBN is 978-0-545-01022-1. 1. The application should contain a discrete function for each sub-task the application performs. There should be at least one example of a helper function (e.g. a function called by another function to perform a sub-task). 2. The application should: a. Write the ISBN to the console. b. Get the length of the ISBN without hyphens and write it to the console. C. Get the ISBN check digit (The last character in the ISBN) and write it to the console. d. Get the registration group prefix of the ISBN (The first three characters) and write it to the console. e. Not use global variables. 3. The application should contain at least one explanatory comment. The output of the application should be as follows: The ISBN is 978-0-545-01022-1 This is a 13 digit ISBN The ISBN check digit is 1 The ISBN registration group prefix is 978 Save your work as username_jv_tma_task1.js and username_jv_tma_task1.html in a folder called jv_tma_task1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!