Design a webpage that should display the contents of this JSON response (ONLY THE 'ID' AND 'EMAIL' ) when the user clicks the button ‘Click to Load Data’ with the id ‘btn-id’.   The contents of the JSON should be displayed in the ‘div’ tag with the id ‘data-id’.  Refer to the below image for more information. Note: 1. Do not alter the file, country.html 2. Write your code in country.js file 3. Avoid writing the jQuery 'document ready' method for the proper web page visibility. 4. Do not use 'ES6' features.

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter5: Working With Excel Tables, Pivottables, And Pivotcharts
Section: Chapter Questions
Problem 1.16CP
icon
Related questions
Question

Computer Science

Design a webpage that should display the contents of this JSON response (ONLY THE 'ID' AND 'EMAIL' ) when the user clicks the button ‘Click to Load Data’ with the id ‘btn-id’.   The contents of the JSON should be displayed in the ‘div’ tag with the id ‘data-id’.  Refer to the below image for more information.

Note:
1. Do not alter the file, country.html
2. Write your code in country.js file
3. Avoid writing the jQuery 'document ready' method for the proper web page visibility.
4. Do not use 'ES6' features.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Elements and Tags
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning