Home > Article > Web Front-end > What is the difference between js and bootstrap
Difference: 1. Is js a literal scripting language, a programming language; and bootstrap is a front-end framework, a front-end toolkit. 2. js is often used to add a variety of dynamic functions to web pages to provide users with a smoother and more beautiful browsing effect; while bootstrap is used to quickly develop web applications and websites.
The operating environment of this tutorial: Windows7 system, javascript1.8.5&&bootsrap3.3.7 version, DELL G3 computer
What Is it js?
js, the full name of JavaScript, is a scripting language that runs on the browser. It has been rated as the most popular programming language in the world for many years.
JavaScript is a literal scripting language. It is a dynamically typed, weakly typed, prototype-based language with built-in support for types. Its interpreter is called the JavaScript engine, which is part of the browser and is widely used in client-side scripting languages. It was first used on HTML (an application under Standard Universal Markup Language) web pages to add dynamic functions to HTML web pages. .
JavaScript is a network scripting language that has been widely used in Web application development. It is often used to add various dynamic functions to web pages to provide users with smoother and more beautiful browsing effects. Usually JavaScript scripts realize their functions by embedding them in HTML.
What can js do?
1. Make the web page interactive, such as responding to user clicks and providing users with a better experience.
2. Can process forms, verify user input, and provide timely feedback. Save user time. For example, if the form asks you to enter your email address but you enter a mobile phone number, you should be given a reminder.
3. You can also dynamically create pages based on user operations. For example, when sending an email, add an attachment.
4. Set a cookie. A cookie is some temporary information stored on the browser, such as the website address you have visited and the user name you have used
What is bootstrap?
Bootstrap is Twitter’s open source front-end framework based on HTML, CSS, and JavaScript. It is a front-end toolkit designed for rapid development of web applications. It supports responsive layout and adheres to mobile device priority after the V3 version.
Bootstrap provides elegant HTML and CSS specifications, which are written in the dynamic CSS language Less. Bootstrap has been very popular since its launch and has been a popular open source project on GitHub, including NASA's MSNBC (Microsoft National Broadcasting Company) Breaking News. Some frameworks that are familiar to domestic mobile developers, such as the WeX5 front-end open source framework, are also performance optimized based on the Bootstrap source code.
Bootstrap provides typography, forms, buttons, navigation and various other components and Javascript extensions to make the development of dynamic web pages and web applications easier.
Bootstrap is based on HTML, CSS, and JAVASCRIPT. It is simple and flexible, making web development faster. By using it we will be able to create web projects easily.
Summary of differences:
1. Is js a literal scripting language, a programming language; while bootstrap is a front-end framework, A front-end toolkit.
2. js is often used to add a variety of dynamic functions to web pages to provide users with a smoother and more beautiful browsing effect; while bootstrap is used to quickly develop web applications and websites.
Original address: https://dev.to/duomly/10-most-common-javascript-questions-answered-1083
Author: Duomly
The above is the detailed content of What is the difference between js and bootstrap. For more information, please follow other related articles on the PHP Chinese website!