Skip to content

Commit

Permalink
Merge pull request #1 from KidiIT/KidiIT-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
KidiIT authored Nov 27, 2023
2 parents 3bd5a55 + 2476b09 commit 97e6a88
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
# Free multiplication table with JavaScript module
NOTE:How to use and understand the export and import of module in javascript/multiplication table

1:firstly, create a hmtl file and two js files. namely,module1 and module2 respectively on your editior

2:secondly create and style your html template to be more presentable

3:then on your module1.js, give the table tag on your html an ID then get it by it elementById on your module1.js file

4:the next step is almost same as setp 3, import your multiplication from module2.js

5:on your module2.js is where you'll write a function that'll create a table row and columns for you.

6:after which the the all,all2 and the final function which will make more impact on the table as seen on my module2.js file on my repo.

7:lastly you'll create a multiplication function that will multiply xAxis, yAxis and give an 100% output.

8:export default multiplication after your function and feel free to input any number of multiplication table you want to use on your module1.js file as seen on my repo eg(40,40) , (20,20) etc.




Expand Down

0 comments on commit 97e6a88

Please sign in to comment.