I am making a simple website using (HTML,CSS, Bootstrap, JavaScript, JQuery).My question's are:
How I separate all links or scripts tag in a separate file and then include this file in my index.html?
How I can make bootstrap globally accessible to all my project files?
Because without it my head tag is messed up and I want to write clean code.
fetch('/tags.txt').then(res => {
res.text().then(data => {
console.log(data)
document.querySelector('head').html = data ;
})
})
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.