You are viewing a single comment's thread from:

RE: SEC S19W6 || Data type and Conditional statement

in #burnsteem25last month

It's simple, but it's Very amazing work sir, I just want to understand that how can I run these external file with the main file. do we need JavaScript to apply this, that when we click on a text and it opens the thing linked with it, and previous one gets closed.

Sort:  

Yes JavaScript does the magic

Kindly can you solve this for me.
1 html file contains a calculator, with its own JavaScript and styling,
2nd one is containing some other stuff with its own J's and css,
3rd one is also.

How we can join them properly? And where we link these, in html1 2 or 3, or we create a new file?

To link your pages you may consider using the HTML code in the format below.

image.png

Also, you can fetch out the data in the pages by using the JavaScript code as illustrated below

image.png

Also, you will need to copy the JavaScript of those pages created and place it in the index.html page for the various functions in those pages to be executed.

Thank you very much sir I am saving this screenshots and also I am taking the screenshot of your comment so it will help me whenever I will doing the process very very thank you sir