mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
Merge branch 'master' of https://github.com/Microsoft/frontend-bootcamp
This commit is contained in:
@@ -78,6 +78,13 @@ Demo and Exercises are combined
|
|||||||
- [React Docs](https://reactjs.org/docs/getting-started.html)
|
- [React Docs](https://reactjs.org/docs/getting-started.html)
|
||||||
- [Thinking in React](https://reactjs.org/docs/thinking-in-react.html)
|
- [Thinking in React](https://reactjs.org/docs/thinking-in-react.html)
|
||||||
|
|
||||||
|
### Follow the Authors!
|
||||||
|
|
||||||
|
If you are interested in JavaScript, TypeScript, React, Redux, Design Systems, follow us on Twitter:
|
||||||
|
|
||||||
|
@kenneth_chau
|
||||||
|
@micahgodbolt
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
This project welcomes contributions and suggestions. Most contributions require you to agree to a
|
This project welcomes contributions and suggestions. Most contributions require you to agree to a
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head></head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
<h1></h1>
|
|
||||||
<div class="addTodo"></div>
|
|
||||||
<nav></nav>
|
|
||||||
</header>
|
|
||||||
<main class="filter"></main>
|
|
||||||
<footer></footer>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
function updateRemaining() {
|
function updateRemaining() {
|
||||||
const remaining = document.querySelector('.remaining');
|
const remaining = document.querySelector('.remaining');
|
||||||
const todos = document.querySelectorAll('.todo');
|
const todos = document.querySelectorAll('.todo').length;
|
||||||
remaining.innerText = todos;
|
remaining.innerText = todos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user