A Pen by AmineBenaddiGitHub on CodePen.
π―
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // works | |
| function sayHi() { console.log('hi!')} | |
| sayHi() | |
| // works |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| document.getElementsByTagName('button')[0].onclick = function () { | |
| scrollTo(document.body, 0, 1250); | |
| } | |
| function scrollTo(element, to, duration) { | |
| var start = element.scrollTop, | |
| change = to - start, | |
| currentTime = 0, | |
| increment = 20; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Opera 8.0+ | |
| var isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0; | |
| // Firefox 1.0+ | |
| var isFirefox = typeof InstallTrigger !== 'undefined'; | |
| // Safari 3.0+ "[object HTMLElementConstructor]" | |
| var isSafari = /constructor/i.test(window.HTMLElement) || (function (p) { return p.toString() === "[object SafariRemoteNotification]"; })(!window['safari'] || (typeof safari !== 'undefined' && window['safari'].pushNotification)); | |
| // Internet Explorer 6-11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for (var i=0; i<10; i++){ | |
| setTimeout(function(){ | |
| console.log(i); | |
| }, 1000); | |
| } | |
| //Output : 10 10 10 10 10 10 10 10 10 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var a; | |
| console.log(a); | |
| a = 1; | |
| //output : 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="row" style="margin-bottom: 12px;"> | |
| <div class="col-md-12" style="text-align: center;"> | |
| This page will refresh in <div class="time">{{minutes}}</div> Min <div class="time">{{seconds}}</div> Sec | |
| </div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1) Git Clone: | |
| git clone <https://name-of-the-repository-link> | |
| 2) Creating a new branch: | |
| git branch <branch-name> | |
| 3) Viewing branches: | |
| git branch or git branch --list | |
| 4) Deleting a branch: |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="type/javascript" src="{% static 'frontend/dist/runtime-es2015.js' %}"></script> | |
| <script type="type/javascript" src="{% static 'frontend/dist/polyfills-es2015.js' %}"></script> | |
| <script type="type/javascript" src="{% static 'frontend/dist/styles-es2015.js' %}"></script> | |
| <script type="type/javascript" src="{% static 'frontend/dist/vendor-es2015.js' %}"></script> | |
| <script type="type/javascript" src="{% static 'frontend/dist/main-es2015.js' %}"></script> |
NewerOlder