what is javascript
JavaScript is a programming language that is used to create dynamic content on web pages. It was created by Brendan Eich in 1995 and is now one of the most popular languages in use today. JavaScript can be used for many different purposes, including building interactive websites, developing mobile apps, and even controlling robots!
Example Code Blocks
const btn = document.querySelector(".btn");
btn.addEventListener("click", () => {
console.log("Hello World!");
});
Prop Name | Type | Description |
---|---|---|
title | string | Post Title |
date | string | YYYY-MM-DD |
category | string | add icon the assets/img |
description | string | Post Description |
tags | array | custom tags in the src/assets/js/tags.js |
banner | string | Banner Image URL |
featured | boolean | Featured Post |