mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
Add step number to headers
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-02 exercise</h1>
|
||||||
<div class="addTodo">
|
<div class="addTodo">
|
||||||
<input class="textfield" placeholder="add todo" />
|
<input class="textfield" placeholder="add todo" />
|
||||||
<button class="submit">Add</button>
|
<button class="submit">Add</button>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-02 final</h1>
|
||||||
<div class="addTodo">
|
<div class="addTodo">
|
||||||
<input class="textfield" placeholder="add todo" />
|
<input class="textfield" placeholder="add todo" />
|
||||||
<button class="submit">Add</button>
|
<button class="submit">Add</button>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-03 demo</h1>
|
||||||
<div class="addTodo">
|
<div class="addTodo">
|
||||||
<input class="textfield" placeholder="add todo" />
|
<input class="textfield" placeholder="add todo" />
|
||||||
<button class="submit">Add</button>
|
<button class="submit">Add</button>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-03 exercise</h1>
|
||||||
<div class="addTodo">
|
<div class="addTodo">
|
||||||
<input class="textfield" placeholder="add todo" />
|
<input class="textfield" placeholder="add todo" />
|
||||||
<button onclick="addTodo()" class="submit">Add</button>
|
<button onclick="addTodo()" class="submit">Add</button>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-03 final</h1>
|
||||||
<div class="addTodo">
|
<div class="addTodo">
|
||||||
<input class="textfield" placeholder="add todo" />
|
<input class="textfield" placeholder="add todo" />
|
||||||
<button onclick="addTodo()" class="submit">Add</button>
|
<button onclick="addTodo()" class="submit">Add</button>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export class TodoHeader extends React.Component {
|
|||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-05 exercise</h1>
|
||||||
<div className="addTodo">
|
<div className="addTodo">
|
||||||
<input className="textfield" placeholder="add todo" />
|
<input className="textfield" placeholder="add todo" />
|
||||||
<button className="submit">Add</button>
|
<button className="submit">Add</button>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export class TodoHeader extends React.Component {
|
|||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-05 final</h1>
|
||||||
<div className="addTodo">
|
<div className="addTodo">
|
||||||
<input className="textfield" placeholder="add todo" />
|
<input className="textfield" placeholder="add todo" />
|
||||||
<button className="submit">Add</button>
|
<button className="submit">Add</button>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export class TodoHeader extends React.Component<any, any> {
|
|||||||
const { filter } = this.props;
|
const { filter } = this.props;
|
||||||
return (
|
return (
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-06 demo</h1>
|
||||||
<div className="addTodo">
|
<div className="addTodo">
|
||||||
<input className="textfield" placeholder="add todo" />
|
<input className="textfield" placeholder="add todo" />
|
||||||
<button className="submit">Add</button>
|
<button className="submit">Add</button>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ export class TodoHeader extends React.Component<any, any> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-06 exercise</h1>
|
||||||
<div className="addTodo">
|
<div className="addTodo">
|
||||||
<input value={this.state.labelInput} onChange={this._onChange} className="textfield" placeholder="add todo" />
|
<input value={this.state.labelInput} onChange={this._onChange} className="textfield" placeholder="add todo" />
|
||||||
<button className="submit">Add</button>
|
<button className="submit">Add</button>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ export class TodoHeader extends React.Component<any, any> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-06 final</h1>
|
||||||
<div className="addTodo">
|
<div className="addTodo">
|
||||||
<input value={this.state.labelInput} onChange={this._onChange} className="textfield" placeholder="add todo" />
|
<input value={this.state.labelInput} onChange={this._onChange} className="textfield" placeholder="add todo" />
|
||||||
<button className="submit">Add</button>
|
<button className="submit">Add</button>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ export class TodoHeader extends React.Component<any, any> {
|
|||||||
const { filter } = this.props;
|
const { filter } = this.props;
|
||||||
return (
|
return (
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-07 demo</h1>
|
||||||
<div className="addTodo">
|
<div className="addTodo">
|
||||||
<input value={this.state.labelInput} onChange={this._onChange} className="textfield" placeholder="add todo" />
|
<input value={this.state.labelInput} onChange={this._onChange} className="textfield" placeholder="add todo" />
|
||||||
<button className="submit">Add</button>
|
<button className="submit">Add</button>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ export class TodoHeader extends React.Component<any, any> {
|
|||||||
const { filter } = this.props;
|
const { filter } = this.props;
|
||||||
return (
|
return (
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-07 exercise</h1>
|
||||||
<div className="addTodo">
|
<div className="addTodo">
|
||||||
<input value={this.state.labelInput} onChange={this._onChange} className="textfield" placeholder="add todo" />
|
<input value={this.state.labelInput} onChange={this._onChange} className="textfield" placeholder="add todo" />
|
||||||
<button className="submit">Add</button>
|
<button className="submit">Add</button>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export class TodoHeader extends React.Component<TodoHeaderProps, TodoHeaderState
|
|||||||
const { filter, setFilter } = this.props;
|
const { filter, setFilter } = this.props;
|
||||||
return (
|
return (
|
||||||
<header>
|
<header>
|
||||||
<h1>todos</h1>
|
<h1>todos - step1-07 final</h1>
|
||||||
<div className="addTodo">
|
<div className="addTodo">
|
||||||
<input value={this.state.labelInput} onChange={this._onChange} className="textfield" placeholder="add todo" />
|
<input value={this.state.labelInput} onChange={this._onChange} className="textfield" placeholder="add todo" />
|
||||||
<button onClick={this._onAdd} className="submit">
|
<button onClick={this._onAdd} className="submit">
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export class TodoHeader extends React.Component<TodoHeaderProps, TodoHeaderState
|
|||||||
return (
|
return (
|
||||||
<Stack>
|
<Stack>
|
||||||
<Stack horizontal horizontalAlign="center">
|
<Stack horizontal horizontalAlign="center">
|
||||||
<Text variant="xxLarge">todos</Text>
|
<Text variant="xxLarge">todos - step2-02 demo</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Stack horizontal>
|
<Stack horizontal>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ export class TodoHeader extends React.Component<{}, {}> {
|
|||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<h1>todos</h1>
|
<h1>todos - step2-02 exercise</h1>
|
||||||
<input className="textfield" placeholder="add todo" />
|
<input className="textfield" placeholder="add todo" />
|
||||||
<button className="button add">Add</button>
|
<button className="button add">Add</button>
|
||||||
<div className="filter">
|
<div className="filter">
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export class TodoHeader extends React.Component<TodoHeaderProps, TodoHeaderState
|
|||||||
return (
|
return (
|
||||||
<Stack gap={10}>
|
<Stack gap={10}>
|
||||||
<Stack horizontal horizontalAlign="center">
|
<Stack horizontal horizontalAlign="center">
|
||||||
<Text variant="xxLarge">todos</Text>
|
<Text variant="xxLarge">todos - step2-03 demo</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Stack horizontal gap={10}>
|
<Stack horizontal gap={10}>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export class TodoHeader extends React.Component<TodoHeaderProps, TodoHeaderState
|
|||||||
return (
|
return (
|
||||||
<Stack gap={10}>
|
<Stack gap={10}>
|
||||||
<Stack horizontal horizontalAlign="center">
|
<Stack horizontal horizontalAlign="center">
|
||||||
<Text variant="xxLarge">todos</Text>
|
<Text variant="xxLarge">todos - step2-03 exercise</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Stack horizontal gap={10}>
|
<Stack horizontal gap={10}>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ class TodoHeader extends React.Component<TodoHeaderProps, TodoHeaderState> {
|
|||||||
return (
|
return (
|
||||||
<Stack gap={10}>
|
<Stack gap={10}>
|
||||||
<Stack horizontal horizontalAlign="center">
|
<Stack horizontal horizontalAlign="center">
|
||||||
<Text variant="xxLarge">todos</Text>
|
<Text variant="xxLarge">todos - step2-07 demo</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Stack horizontal gap={10}>
|
<Stack horizontal gap={10}>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ export class TodoHeader extends React.Component<TodoHeaderProps, TodoHeaderState
|
|||||||
return (
|
return (
|
||||||
<Stack gap={10}>
|
<Stack gap={10}>
|
||||||
<Stack horizontal horizontalAlign="center">
|
<Stack horizontal horizontalAlign="center">
|
||||||
<Text variant="xxLarge">todos</Text>
|
<Text variant="xxLarge">todos - step2-07 exercise</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Stack horizontal gap={10}>
|
<Stack horizontal gap={10}>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ class TodoHeader extends React.Component<TodoHeaderProps, TodoHeaderState> {
|
|||||||
return (
|
return (
|
||||||
<Stack gap={10}>
|
<Stack gap={10}>
|
||||||
<Stack horizontal horizontalAlign="center">
|
<Stack horizontal horizontalAlign="center">
|
||||||
<Text variant="xxLarge">todos</Text>
|
<Text variant="xxLarge">todos - step2-08 demo</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Stack horizontal gap={10}>
|
<Stack horizontal gap={10}>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ class TodoHeader extends React.Component<TodoHeaderProps, TodoHeaderState> {
|
|||||||
return (
|
return (
|
||||||
<Stack gap={10}>
|
<Stack gap={10}>
|
||||||
<Stack horizontal horizontalAlign="center">
|
<Stack horizontal horizontalAlign="center">
|
||||||
<Text variant="xxLarge">todos</Text>
|
<Text variant="xxLarge">todos - step2-08 exercise</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Stack horizontal gap={10}>
|
<Stack horizontal gap={10}>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ class TodoHeader extends React.Component<TodoHeaderProps, TodoHeaderState> {
|
|||||||
return (
|
return (
|
||||||
<Stack gap={10}>
|
<Stack gap={10}>
|
||||||
<Stack horizontal horizontalAlign="center">
|
<Stack horizontal horizontalAlign="center">
|
||||||
<Text variant="xxLarge">todos</Text>
|
<Text variant="xxLarge">todos - step2-09 demo</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Stack horizontal gap={10}>
|
<Stack horizontal gap={10}>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ class TodoHeader extends React.Component<TodoHeaderProps, TodoHeaderState> {
|
|||||||
return (
|
return (
|
||||||
<Stack gap={10}>
|
<Stack gap={10}>
|
||||||
<Stack horizontal horizontalAlign="center">
|
<Stack horizontal horizontalAlign="center">
|
||||||
<Text variant="xxLarge">todos</Text>
|
<Text variant="xxLarge">todos - step2-09 exercise</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Stack horizontal gap={10}>
|
<Stack horizontal gap={10}>
|
||||||
|
|||||||
Reference in New Issue
Block a user