Skip to content

Instantly share code, notes, and snippets.

View Ifycode's full-sized avatar
🎯
Always in Collabo mode 🤝

Mary @Ifycode Ifycode

🎯
Always in Collabo mode 🤝
View GitHub Profile
@Ifycode
Ifycode / index.js
Last active July 31, 2020 21:43
Embed for Understanding Regular Function & Converting To Arrow Function Article index.js file - Js example 1
'use strict';
//Named function
function sameFunction() {
let displayBox = document.getElementById('displayBox');
let num3 = 3;
let num4 = 4;
displayBox.innerHTML = `${num3} + ${num4} = ${num3+num4}`;
}
@Ifycode
Ifycode / index.html
Last active July 31, 2020 21:39
Embed for Understanding Regular Function & Converting To Arrow Function Article HTML file example
<!DOCTYPE html>
<html>
<head></head>
<body id="container">
<div id="displayBlock"></div>
<script src="index.js"></script>
</body>
</html>