To inquire about Index.html #355
Replies: 4 comments 6 replies
-
Hey @Rucha-Ambaliya, ideally the logo remains at the centre for about 3 seconds like a preloader and then the contents of the website are displayed along with the chatbot. The website is working fine on my device, maybe due to bad network the js file didn't execute on your device. Please check again and let me know if the same issue persists. |
Beta Was this translation helpful? Give feedback.
-
About the issue I mentioned earlier of blank screen, I debugged something and if I’m correct, the website isn’t using a local server, right? I believe that’s why the browser was throwing CORS errors and blocking JS files from loading. Upon finding a solution, I realized the 'Go Live' extension is a good fix for this. If I’m right, should I add a reference to this in the documentation? I think new contributors, especially those inclined towards web development, might face a similar issue, and it could be a big hindrance. For instance, when I ran main.py and clicked on the 'Go to Website' button, it opened, and I didn’t realize at the time that it was a deployed website 😅. Pretty naive of me, but I think there will be others who might miss these small details too. What do you think? Also, now that index.html is running properly on my device, I’m going to actively work on the 'Contribute' button as well. |
Beta Was this translation helpful? Give feedback.
-
@Rucha-Ambaliya you're right, the website isn’t using a local server. Instead of suggesting the 'Go Live' extension to the contributors, we should add a section in the contributing.md file, informing contributors about the port to open in their browser. The website can be accessed by opening
in the browser. Also, to deal with the CORS errors can be fixed by adding {
"liveServer.settings.CORS": true
} to the .vscode/settings.json file. |
Beta Was this translation helpful? Give feedback.
-
Sure, I would like to work on it. Thanks for assigning this to me! |
Beta Was this translation helpful? Give feedback.
-
I'm encountering a dark screen when opening this page, with the website logo displayed in the center and a chatbot at the bottom right corner. However, there is no button available to navigate through the website.
Am I supposed to navigate the website via some other file? Please let me know if I'm doing it in the wrong way.
Beta Was this translation helpful? Give feedback.
All reactions