https://github.com/khalidsheet/html-for
A simple library that make html do for loop [ JUST FOR FUN ]
https://github.com/khalidsheet/html-for
for html html-for javascript js loops
Last synced: 12 months ago
JSON representation
A simple library that make html do for loop [ JUST FOR FUN ]
- Host: GitHub
- URL: https://github.com/khalidsheet/html-for
- Owner: khalidsheet
- Created: 2018-11-25T21:49:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-25T21:49:51.000Z (over 7 years ago)
- Last Synced: 2025-05-15T00:39:19.448Z (about 1 year ago)
- Topics: for, html, html-for, javascript, js, loops
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HTML CAN DO FOR LOOP NOW!
-----
## Usage
#### Download the package then add it to your html page
```html
```
----
#### In your main file type the following:
```js
let htmlFor = new HtmlFor();
htmlFor.run(); // will run the loops :)
```
-----
#### Html Code
```html
Hey I will repeat myself 10 times
```
##### - Notice that {key} and {condition} attributes are Required!
-----
## Rendered Code will be:
```html
Hey I will repeat myself 10 times
Hey I will repeat myself 10 times
Hey I will repeat myself 10 times
Hey I will repeat myself 10 times
Hey I will repeat myself 10 times
Hey I will repeat myself 10 times
Hey I will repeat myself 10 times
Hey I will repeat myself 10 times
Hey I will repeat myself 10 times
Hey I will repeat myself 10 times
```