Skip to content

Instantly share code, notes, and snippets.

@fahdi
Created August 1, 2022 21:06
Show Gist options
  • Save fahdi/6710ea1864b3db06626d55e2b415dcf0 to your computer and use it in GitHub Desktop.
Save fahdi/6710ea1864b3db06626d55e2b415dcf0 to your computer and use it in GitHub Desktop.
Variables
<html>
<head>
</head>
<body>
<div id="message"><div>
</body>
</html>
var name = "iSuperCoder";
var profession = "Software Engineer";
var message = `My name is ${name} and my profession is ${profession}`;
console.log(message);
document.getElementById("message").innerHTML = message;
@mugheesiqbal
Copy link

@fahdi
Copy link
Author

fahdi commented Aug 2, 2022 via email

@Mubashirgfx
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment