npm install styled-components


1. Git init

git init 




Linking your HTML page to your CSS file

  • We create a stylesheet with a .css extension and include its link in the HTML document, like this:
<head>  
<link rel="stylesheet" href="yourfilename.css">
</head>

Selectors


let pay_babysitter = trueif (pay_babysitter) {
"Paid!"
} else {
"Need to pay!"
}
// output: "Paid!"


Kelsey Dickson

Developer in NYC 🤠

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store