![const function javascript,
javascript constants best practices,
const object javascript,
difference between let and var and const in javascript,
const array javascript,
javascript const function with parameters,
const javascript,
const java,codeprime, coding tutorial, how to learn coding easy way to learn coding](https://i.ytimg.com/vi/VD6c4NlGpBQ/mqdefault.jpg)
Hi dear welcome to "CodePrime" Blog . In this post we are going to learn to makeing css recipe card design for your blogpost. First Creat A index.html file Copy This HTML CODE and pest it one your code editor. 2ndly creat contant.js file Then Copy The JS CODE and pest it then link the script file in header section of index and then open the index.html file with your browser.
HTML CODE
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>constant js</title>
</head>
<body>
</body>
</html>
JAVASCRIPT CODE
const pi='3.1416'; //fixed value
pi='3.12'; //provide the correct value otherwise it will not exicute
console.log(pi); //testing
0 Comments