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
| /** | |
| * Fluid background, fixed content | |
| */ | |
| header, section, footer { | |
| padding: 1em calc(50% - 600px); | |
| } | |
| footer { | |
| background: #333; |
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
| [ | |
| { | |
| "title": "<h1>London</h1>", | |
| "descr": "<p>Capital of GrateBretan!</p>", | |
| "image": "<img src=\"https://london.ac.uk/sites/default/files/styles/promo_mobile/public/2018-10/london-aerial-cityscape-river-thames_1.jpg?itok=ekaaHHpi\">" | |
| }, | |
| { | |
| "title": "<h1>Paris</h1>", | |
| "descr": "<p>Capital of France!</p>", | |
| "image": "<img src=\"https://london.ac.uk/sites/default/files/styles/promo_mobile/public/2018-10/london-aerial-cityscape-river-thames_1.jpg?itok=ekaaHHpi\">" |
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 {createStore} from 'redux'; | |
| const initState = { | |
| car: 'Audi', | |
| color: 'red' | |
| } | |
| // console.log('initState', initState) | |
| function reducer(state = initState, action) { |
OlderNewer