Is it okay to include a little bootstrap on the page you’re missing?

Asked

Viewed 29 times

3

Hi, I’m creating a web system and so far only created the header and a sidebar with the options. Until now I was creating everything without using bootstrap, but I want to put bootstrap elements like Serction and tables, since the creation of the header and sidebar gave me a lot of work due to little knowledge in the web languages. I wonder if there is any problem in continuing creating the other elements using the bootstrap so that I don’t have to recreate the header and sidebar?

1 answer

5


No problem, that’s quite usual.

What you have to consider is:

  • pages without scripts is always preferable from the page loading speed and weight perspective
  • scripted pages are often more useful because you can interact and change the page depending on what the user needs
  • always use the same scripts, on the pages where possible, so the browser loads the script once and does not need to search on the next
  • uses minified versions in production to keep the file size as small as possible
  • when possible load scripts async, this tells the browser that the script is not needed to load the page so the page is shown before the script loads (never use this in CSS or scripts that have to run right at the bottom of the page load)
  • 1

    Thanks Sergio, I was almost sure that there would be no problem, but I was afraid that this could be wrong or bring problems in the future and thanks for the tips too!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.