-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from V-Blaze/Comment-counter
Comment counter
- Loading branch information
Showing
5 changed files
with
128 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,100 @@ | ||
# Team-Kanban | ||
## TODO LIST WEB_APP | ||
|
||
- This is a JavaScript meal app built with crowd-sourced database of Recipes from around the world. | ||
|
||
## LIVE DEMO | ||
|
||
- Click [HERE]() | ||
|
||
## Built With | ||
|
||
- HTML | ||
|
||
- CSS | ||
|
||
- Javascript(ES6) | ||
|
||
- WebPack | ||
|
||
- Fetch API | ||
|
||
- MealDB API [MealDB](https://www.themealdb.com/api.php) | ||
|
||
- Involement API | ||
|
||
- Lighthouse (An open-source, automated tool for improving the quality of web pages. It has audits for performance, accessibility, progressive web apps, SEO and more). | ||
|
||
- Webhint (A customizable linting tool that helps you improve your site's accessibility, speed, cross-browser compatibility, and more by checking your code for best practices and common errors). | ||
|
||
- Stylelint (A mighty, modern linter that helps you avoid errors and enforce conventions in your styles). | ||
|
||
### Linter Tests | ||
|
||
- `npx hint .` | ||
- `npx stylelint "**/*.{css,scss}"` | ||
- `npx eslint .` | ||
|
||
### Prerequisites | ||
|
||
- Have a local version control like Git. Which is a open source distributed version control system designed for source code management | ||
- A text editor (e.g Visual Studio Code, Vim, Atom & Sublime.) | ||
- A web browser (e.g Chrome, Safari, Mozilla Firefox.) | ||
- Live Server which is a web extension that helps you to live reload feature for dynamic content (PHP, Node.js, ASPNET) | ||
- Download waves to check project accessibilty | ||
|
||
### Getting Started | ||
|
||
To get a local copy up and running follow these simple example steps. | ||
|
||
- npm | ||
```sh | ||
npm install npm@latest -g | ||
``` | ||
|
||
### Installation | ||
|
||
1. Clone the repo by running the command | ||
```sh | ||
git clone https://github.com/V-Blaze/FOODHUB.git | ||
``` | ||
2. Open the directory of the project | ||
```sh | ||
cd FOODHUB | ||
``` | ||
3. Open the html file | ||
```sh | ||
Click and open the html file | ||
``` | ||
|
||
<p align="right">(<a href="#top">back to top</a>)</p> | ||
|
||
See the [open issues](#) for a full list of proposed features (and known issues). | ||
|
||
## Authors | ||
|
||
👤 Valetine Blaze | ||
|
||
- GitHub: [@V-blaze](https://github.com/V-Blaze) | ||
- Twitter: [@blaze_valentine](https://twitter.com/blaze_valentine) | ||
- LinkedIn: [@valentine-blaze](https://www.linkedin.com/in/valentine-blaze/) | ||
|
||
## | ||
|
||
👤 Usama Malik | ||
|
||
- GitHub: [@usamamaliq](https://github.com/usamamaliq) | ||
- LinkedIn: [@usamamaliq](https://www.linkedin.com/in/usamamaliq/) | ||
|
||
## 🤝 Contributing | ||
|
||
- Contributions, issues, and feature requests are welcome! | ||
|
||
- Feel free to check the [issues page](https://github.com/V-Blaze/FOODHUB.git/issues). | ||
|
||
## Show your support | ||
|
||
- Give a ⭐️ if you like this project! | ||
|
||
## 📝 License | ||
|
||
- This project is [MIT](https://github.com/V-Blaze/FOODHUB/blob/dev/LICENSE) licensed. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const commmentCounter = () => { | ||
const comments = document.querySelectorAll('.user-comment'); | ||
return comments.length; | ||
}; | ||
|
||
export default commmentCounter; |
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
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