This file contains 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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=2.0"> | |
<title>クレジットカード情報入力</title> | |
</head> | |
<body> | |
<form id="credit-card-form" action="https://yoursite/purchase.html" method="POST"> | |
<h2>カード情報を入力してください</h2> |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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 { useMediaQuery } from "./useMediaQuery" | |
const breakpoints = { | |
sm: 640, | |
md: 768, | |
lg: 1024, | |
xl: 1280, | |
"2xl": 1536, | |
} | |
type BreakpointKey = keyof typeof breakpoints |