Skip to content

Instantly share code, notes, and snippets.

View marharyta's full-sized avatar

Margo Roi marharyta

View GitHub Profile
@marharyta
marharyta / .babelrc
Last active July 17, 2018 09:51
React-redux search
{
"presets": ["env", "react"]
}
@marharyta
marharyta / index.html
Last active August 10, 2018 15:31
React-redux-search src/ folder
<html>
<head>
<link rel="stylesheet" href="<%=htmlWebpackPlugin.files.chunks.main.css %>">
</head>
<body>
<div id="root"></div>
<script src="<%= htmlWebpackPlugin.files.chunks.main.entry %>"></script>
</body>
import React from 'react';
import ReactDOM from 'react-dom';
import './css/main.css';
class App extends React.Component {
constructor(props) {
super(props);
this.state = { coworkings: [] };
}
componentDidMount() {
import React from 'react';
import ReactDOM from 'react-dom';
import './css/main.css';
class App extends React.Component {
constructor(props) {
super(props);
this.state = { coworkings: [] };
}
componentDidMount() {
@marharyta
marharyta / index.js
Last active August 10, 2018 15:35
React-redux-search index.js with React state
import React from 'react';
import ReactDOM from 'react-dom';
import styled from 'styled-components';
import './css/main.css';
class App extends React.Component {
constructor(props) {
super(props);
this.state = { coworkings: [] };
}
<!DOCTYPE html>
<!--9.0.8533--><html lang="en-GB" data-platform="desktop">
<head><meta charSet="utf-8"/><title>New Look Wide Fit | New Look Wide Fit Court Shoe</title><meta name="description" content="Shop New Look Wide Fit Court Shoe at ASOS. Discover fashion online."/><meta name="p:domain_verify" content="7d543da16a86f7ad75c452097bfa9e47"/><meta name="msvalidate.01" content="0BC251BA275FCFB5D0505FEBC89F03B6"/><meta property="fb:app_id" content="123073601043263"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link href="https://plus.google.com/103410992963919123763/" rel="publisher"/><meta name="Slurp" content="NOODP"/><meta name="Slurp" content="NOYDIR"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="manifest" href="/manifest.json"/><link rel="mask-icon" href="/safari-pinned-tab.sv
@marharyta
marharyta / reset.css
Last active August 2, 2021 06:00
Eric Meyer`s Reset CSS
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
@marharyta
marharyta / undohtml.css
Created November 25, 2018 18:13
Tantek Celik`s undohtml.css
/* undohtml.css */
/* (CC) 2004 Tantek Celik. Some Rights Reserved. */
/* http://creativecommons.org/licenses/by/2.0 */
/* This style sheet is licensed under a Creative Commons License. */
/* Purpose: undo some of the default styling of common (X)HTML browsers */
/* link underlines tend to make hypertext less readable,
because underlines obscure the shapes of the lower halves of words */
:link,:visited { text-decoration: none; }
/* no list-markers by default, since lists are used more often for semantics */
ul,ol { list-style: none; }
@marharyta
marharyta / minireset.css
Created November 25, 2018 18:18
MiniReset.css
/*! minireset.css v0.0.3 | MIT License | github.com/jgthms/minireset.css */
html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6 {
margin: 0;
padding: 0;
}
h1,h2,h3,h4,h5,h6 {
font-size: 100%;
font-weight: normal;
}
ul {
@marharyta
marharyta / html5doctor.css
Created November 25, 2018 18:19
HTML5 Doctor CSS Reset
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,