Category: Html/CSS/Javascript
-
Websites Development from HTML, CSS and Javascript : (4) Using Linear Algebra Library
There are several linear algebra libraries available for JavaScript. Here are a few popular ones: You can find more information about these libraries, including documentation and examples, on their respective websites. Here is an example of how you can perform some simple linear algebra operations using the linear-algebra library: This code creates a 2×2 matrix…
-
Websites Development from HTML, CSS and Javascript : (3) Make Triangle at Website using WebGL
Here is an example of an HTML page with two tile-style buttons and a 3D view using WebGL: The first button has an onclick attribute that calls the displayDate function, which displays the current date in an alert box. The second button has an onclick attribute that calls the drawTriangle function, which gets the canvas…
-
Websites Development from HTML, CSS and Javascript : (2) Dividing Html File to HTML, CSS and Javascript and Service the Website using Flask
You can divide your HTML, CSS, and JavaScript code into separate files and link to them from an HTML file. This can make your code easier to organize and maintain. To link to a CSS file from an HTML file, you can use a link element in the head section of the HTML file, like…
-
Websites Development from HTML, CSS and Javascript : (1) Hello world and simple button
Here is an example of a “Hello, World!” program in HTML: To create an HTML file, you will need to use a plain text editor, such as Notepad on Windows or TextEdit on Mac. Save the file with an .html extension, then open it in a web browser to see the result. Here is an…