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
| const modalContainer = document.createElement('div'); | |
| modalContainer.style.position = 'fixed'; | |
| modalContainer.style.top = '0'; | |
| modalContainer.style.left = '0'; | |
| modalContainer.style.width = '100%'; | |
| modalContainer.style.height = '100%'; | |
| modalContainer.style.backgroundColor = 'rgba(0, 0, 0, 0.5)'; | |
| modalContainer.style.display = 'none'; | |
| modalContainer.style.justifyContent = 'center'; | |
| modalContainer.style.alignItems = 'center'; |
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
| { | |
| "name": "ftux", | |
| "exclude_users": [ | |
| 150, | |
| 4567 | |
| ], | |
| "targetGroup": "", | |
| "payload": { | |
| "videos":{ | |
| "videoCompletionTitle":"Ready to start a 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
| import Pagination from 'components/Pagination'; | |
| import PropTypes from 'prop-types'; | |
| import React from 'react'; | |
| import styled from 'styled-components'; | |
| const Th = styled.th` | |
| padding: 13px 10px; | |
| border: 1px solid #e1dddd; | |
| font-size: 14px; | |
| text-align: ${props => |
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
| hello = () => ({ | |
| name: 'Tanisha Sabherwal', | |
| website: 'https://www.tanishasabherwal.me/', | |
| twitter: 'tanishaaa03' | |
| }); |
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 sayfirst(){ | |
| setTimeout(function(){ | |
| console.log("First")},500); | |
| } | |
| function saySecond(){ | |
| console.log("Second") } | |
| sayFirst(); | |
| saySecond(); |
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 sayfirst(){ | |
| console.log("First"); } | |
| function saySecond(){ | |
| console.log("Second") } | |
| sayFirst(); | |
| saySecond(); | |
| // First | |
| // Second |
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 greet(fname){ | |
| return sayHello(lname){ //inner function | |
| return "Hello "+fname+lname; //access to the variable | |
| } | |
| } | |
| var greetTanisha=greet("Tanisha"); | |
| print(greetTanisha("Sabherwal")); | |
| // PRINTS "Hello TanishaSabherwal" |
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 greet(){ | |
| name="Tanisha"; //local variable for greet() | |
| function sayHello(){ //inner function | |
| alert("Hello"+name); //access to the variable | |
| } | |
| sayHello(); | |
| } |