Modify your bits.html page from Exercise 7.4 so that it uses a function to encapsulate the statements

Question:

Modify your bits.html page from Exercise 7.4 so that it uses a function to encapsulate the statements for accessing the number of bits, calculating the number of values, and displaying it in the page. The button in the page should call this function when clicked?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: