`;
29 |
30 | htmlString = `${htmlString} ${table}`;
31 |
32 | mainElement.insertAdjacentHTML('beforeend', htmlString);
33 | };
34 |
35 | const loadData = async (fileName) => {
36 | const url = window.location.origin + '/' + fileName + '.json';
37 | const response = await fetch(url);
38 | const data = await response.json();
39 | console.log(data);
40 | renderData(data, fileName);
41 | };
42 |
43 | const init = async () => {
44 | const fileNamesUrl = window.location.origin + '/infofilenames.json';
45 | const response = await fetch(fileNamesUrl);
46 | const fileNames = await response.json();
47 | console.log(fileNames);
48 | fileNames.forEach(async (fileName) => {
49 | await loadData(fileName);
50 | });
51 | };
52 |
53 | init();
54 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # OneStopInfo
2 |
3 | Alright! welcome to open-source mate.
4 |
5 | ## Wanna get involved?
6 |
7 | Get involved in the commmunity via [Discussions](https://github.com/GeekGuy-29/OneStopInfo/discussions) 💖
8 |
9 | ## What is this project here
10 |
11 | Firstly, the purpose of this project is typically of building a website, more like a library, a One-Stop-Info place wherein people can find anything according to their requirement.
12 |
13 | ## What to contribute in
14 |
15 | There are many places, where you can contribute.
16 |
17 | If I list them for you, they are.
18 |
19 | 1. Low-Code files
20 | 2. Non-Code files
21 | 3. Heavy-Code files
22 |
23 | Ya ya I know, you are very confused, buddy! I got you <3
24 |
25 | #### Low-Code files
26 |
27 | All the `.json` files are low-code files, they have a specific order of data and info so you can have a look at them and make your contributions there
28 |
29 | #### Non-Code files
30 |
31 | Although these files aren't that legitimate enough until you make a good and hefty contribution to them but nevermind, it's there for you to put in your offering.
32 | So, the non-code files for now are `Readme.md` and `Contributing.md`
33 |
34 | #### Heavy-Code files
35 |
36 | If you're a newbie and don't know anything about web-dev, i am sorry mate but these aren't for you.
37 | So these files are the files required to covert this project into a working website. These files are `script.js` and `project.html`
38 |
39 | ## How to contribute
40 |
41 | Check [CONTRIBUTING.md](/CONTRIBUTING.md) for details regarding contribution.
42 |
43 | ## Rules
44 | - Please be respectful to everyone.
45 | - Please don't spam.
46 | - Please don't make any changes to the README.md file.
47 | - Please read [CODE_OF_CONDUCT.md](/CODE_OF_CONDUCT.md).
48 |
49 |
50 | ## Suggestion
51 |
52 | This project, being open-source will always be open for valuable suggestions, which would enhance the overall quality.
53 |
54 | #### If you have any question feel free to ask me.I will be happy to help you
55 | ### And ya If you liked the repo or the project, don't forget to give it a ⭐!
56 |
57 | ## Special thanks to our contributors 🙏
58 | [Contributors.md](/Contributors.md)
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/UI UX/UI one.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeekGuy-29/OneStopInfo/7517d6edf386772ef1bf912c8a91481f4055effd/UI UX/UI one.png
--------------------------------------------------------------------------------
/UI UX/UIUX.md:
--------------------------------------------------------------------------------
1 | > [UI For the Website](https://github.com/GeekGuy-29/OneStopInfo/blob/main/UI%20UX/UI%20one.png)
2 |
3 | > [Figma Link](https://www.figma.com/file/SybwjihFmxewjh0MkIc61W/Untitled?node-id=0%3A1)
4 |
--------------------------------------------------------------------------------
/mediafiles/OneStopInfo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeekGuy-29/OneStopInfo/7517d6edf386772ef1bf912c8a91481f4055effd/mediafiles/OneStopInfo.png
--------------------------------------------------------------------------------
/mediafiles/Onestopinfo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GeekGuy-29/OneStopInfo/7517d6edf386772ef1bf912c8a91481f4055effd/mediafiles/Onestopinfo.png
--------------------------------------------------------------------------------