A Pen by Abhinay Thakur 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
| /** | |
| * Very basic combat with the following rules: | |
| * 1. Monster will always make 5 moves in N,S,E,W directions | |
| * 2. Player need to predict these moves and set traps to kill the Monster | |
| * 3. Player will have 5 traps to set | |
| * 4. If the Monster steps on the trap, the Monster will lose HP as per damage power of trap | |
| * 5. Monster steps on the trap when player accurately predicts the Monster's move | |
| * 6. If player fails to kill the Monster, player loses the game | |
| */ |
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
| /* | |
| * O'Reilly Learning platform in their "individual" plan doesn't provide Beginner to advanced level | |
| * course filter - a very fundamental and basic feature. | |
| * | |
| * Run this code in console to sort those search result and leave a message for them. | |
| * Disclaimer: Not a perfect solution | |
| * | |
| * Author: @thisisabhinay | |
| */ |
A Pen by Abhinay Thakur 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
| <div class="wrapper"> | |
| <h1>Heading 1</h1> | |
| <div class="h1">Heading 1</div> | |
| </div> | |
| <div class="wrapper"> | |
| <h2>Heading 2</h2> | |
| <div class="h2">Heading 2</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
| <div class="wrapper"> | |
| <div class="d d-1"></div> | |
| <div class="d d-2"></div> | |
| <div class="d d-3"></div> | |
| <div class="d d-4"></div> | |
| <div class="d d-5"></div> | |
| <div class="d d-6"></div> | |
| <div class="d d-7"></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
| <div class="wrapper"> | |
| <h1>Heading 1</h1> | |
| <div class="h1">Heading 1</div> | |
| </div> | |
| <div class="wrapper"> | |
| <h2>Heading 2</h2> | |
| <div class="h2">Heading 2</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
| <div class="wrapper"> | |
| <h1>Heading 1</h1> | |
| <div class="h1">Heading 1</div> | |
| </div> | |
| <div class="wrapper"> | |
| <h2>Heading 2</h2> | |
| <div class="h2">Heading 2</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
| function scrollpage() { | |
| function f() | |
| { | |
| window.scrollTo(0,i); | |
| if(status==0) { | |
| i=i+1; | |
| if(i>=Height){ status=1; } | |
| } else { | |
| i=i-1; | |
| if(i<=1){ status=0; } // if you don't want continue scroll then remove this line |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
NewerOlder