Open in app

Sign In

Write

Sign In

David Medina
David Medina

18 Followers

Home

About

Sep 19, 2021

Stateless Components CheatSheet

Stateful and Stateless Components In React, a stateful component is a component that holds some state. Stateless components, by contrast, have no state. Note that both types of components can use props. In the example, there are two React components. The Store component is stateful and the Week component is stateless. class Store extends…

React

3 min read

Stateless Components CheatSheet
Stateless Components CheatSheet
React

3 min read


Sep 13, 2021

jQuery Introduction Cheatsheet

jQuery streamlines dynamic behavior jQuery is a JavaScript library that streamlines the creation of dynamic behavior with predefined methods for selecting and manipulating DOM elements. It offers a simplified approach to implementing responsiveness and requires fewer lines of code to assign behaviors to DOM elements than traditional JavaScript methods. //Selecting DOM elements and adding…

Jquery

2 min read

Jquery

2 min read


Sep 5, 2021

JavaScript Classes Cheatsheet

Static Methods Within a JavaScript class, the static keyword defines a static method for a class. Static methods are not called on individual instances of the class, but are called on the class itself. Therefore, they tend to be general (utility) methods. class Dog { constructor(name) { this._name…

Javascript Class

2 min read

JavaScript Classes Cheatsheet
JavaScript Classes Cheatsheet
Javascript Class

2 min read


Aug 29, 2021

Responsive CheatSheet

CSS unit em em is a CSS unit used to create relatively-sized content. 1 em unit represents the base font size of the current element. In the example code block, <span> elements nested inside of elements with class nav-container will have a font size of 15px. .nav-container { font-size: 10px; } .nav-container span…

Responsive Design

4 min read

Responsive CheatSheet
Responsive CheatSheet
Responsive Design

4 min read


Aug 22, 2021

Command Line Intro Cheatsheet

ls List The shell command ls is used to list the contents of a directory. If no arguments are given, it will list the contents of the current working directory. $ ls Desktop resume.pdf photo.png pwd Print Working Directory The shell command pwd displays the file path from the root directory to the current working directory. …

Beginners Guide

2 min read

Command Line Intro Cheatsheet
Command Line Intro Cheatsheet
Beginners Guide

2 min read


Aug 15, 2021

Flask Intro Cheatsheet

Python Flask Framework Flask is a popular Python framework for developing web applications. It comes with minimal built-in functionalities and requirements, making it simple to get started and flexible to use. The developer has the liberty to customize most aspects of the app, including database integration, accounts and authentication, and more. Creating Flask App Object The Python…

Introduction

2 min read

Flask Intro Cheatsheet
Flask Intro Cheatsheet
Introduction

2 min read


Aug 6, 2021

React Testing

What is Jest? Jest is a testing framework for JavaScript that includes both a test-runner and assertion functions in one package. Installing Jest Jest is included by default when initializing a React app using create-react-app. However, when manually installing Jest with npm, use the provided command to install it as a developer dependency. npm install…

Jest

3 min read

React Testing
React Testing
Jest

3 min read


Aug 1, 2021

Learn CSS: The Box Mode

CSS auto keyword The value auto can be used with the property margin to horizontally center an element within its container. The margin property will take the width of the element and will split the rest of the space equally between the left and right margins. div { margin: auto; } Height and Width Maximums/Minimums The CSS…

CSS

3 min read

Learn CSS: The Box Mode
Learn CSS: The Box Mode
CSS

3 min read


Jul 25, 2021

Intermediate CSS

CSS Flexbox The CSS display: flex property sets an HTML element as a block-level flex container that takes the full width of its parent container. Any child elements that reside within the flex container are called flex items. Flex items change their size and location in response to the size and position…

CSS

4 min read

Intermediate CSS
Intermediate CSS
CSS

4 min read


Jul 18, 2021

Git Cheatsheet

Checking the Status of a Git Repository The git status the command is used within a Git repository to its current status including the current commit, any modified files, and any new files not being tracked by Git. The output of git status can vary widely, and it often includes helpful messages to direct the user to…

Cheatsheet

3 min read

Git Cheatsheet
Git Cheatsheet
Cheatsheet

3 min read

David Medina

David Medina

18 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech