+ 1
How are static html pages produced?
I want to create different webpages using HTML and I want the HTML to be static on each page instead of having to copy the head and footer codes all over.
6 ответов
+ 7
If you want something more advanced for Single Page Web Application you should definitely take a look at AngularJS or ReactJS.
+ 7
For example ng-view in AngularJS is very nice.
+ 2
wrap each separate page in its own div and use JavaScript to toggle the visibility of each one. I do that in this code with a tabbed menu.
https://code.sololearn.com/W1VJwfXFJ9fG/?ref=app
+ 1
I'm not really familiar with JavaScript though, but I'll study your code
+ 1
I just added some comments to hopefully help you understand what's going on. if you need more help let me know
0
slm aziz man b yek hacker niaz daram shoma soragh nadarid @var12410 id telegram