Skip to content

Instantly share code, notes, and snippets.

View mahadiul-hasan's full-sized avatar

Mahadiul Hasan mahadiul-hasan

View GitHub Profile
@mahadiul-hasan
mahadiul-hasan / jsTutorial.js
Last active November 2, 2020 13:21
JS core concept strings, numbers, arrays
var string1 = 'This is string one';
var string2 = "this is string two";
var string3 = `This is string three`;
// use single quotes inside single-quoted strings or double quotes inside double-quoted strings
var escString1 = 'it\'s okay';
var escString2 = "He said \"Goodbye\"";
var escString3 = 'She replied \'Calm down, please\'';
@mahadiul-hasan
mahadiul-hasan / First.js
Created November 2, 2020 02:30
First JavaScript Code
<!DOCTYPE html>
<html>
<body>
<h1>My First Web Page</h1>
<p>My First Paragraph</p>
<p id="example"></p>
<script>