Show Quotes on New Tab
-
@vivekkrishna Please edit your post and add ``` to get a code block for the HTML code!
Example:
```
This is in a code block
```
givesThis is in a code block
-
also say how to make static website into dynamic
-
@vivekkrishna said in Show Quotes on New Tab:
i am not really understanding ur mod
I tried to include descriptive variable and function names with a few comments as well. There is definitely stuff you can't use because it is a mod for Vivaldi, but some of the basic parts of it can be used. If you have any specific questions, you can ask me about them.
Uncaught (in promise) SyntaxError: Unexpected end of input (at index1.html:25:31)
Sounds like the
no-cors
configuration won't work for you. See this StackOverflow answer: https://stackoverflow.com/a/47456842/12275656Seems that ZenQuote's server isn't configured for CORS.
also say how to make static website into dynamic
Deploying a site with a backend is a more involved and I am not sure Netlify provides that sort of hosting.
It sounds like you need to do some more researching on your own. There are many in depth tutorials out there. I am not going to be able to do a better job than any of them.
There are also an infinite amount of different ways to do it, so you will have to find out what best works for the project you have in mind. Like Flask worked well for our project because it involved many different templates that pulled in information from a database, but it would be overkill for a simple webpage loading quotes.
-
@nomadic ,u said that I have to do some research regarding all that stuff, that's actually right ,i thought that I would manage the back end with just little knowledge and high use of chatgpt. But that will not work . Any suggestions for good tutorials so that I would become as good as u in doing all this stuff and I have one more question - some people say that focus on any one role like web developer or python developer, WT do u say
-
@vivekkrishna I am just a mechanical engineer that thought it was a good idea to add a computer science major to my coursework at college "for fun" (was not fun); I am not an expert by any means.
Being a programmer involves being good at searching for stuff online. I spend half my time on coding projects looking at StackOverflow, JSFiddle, CodePen, or GitHub. You try something, break it, search up errors to better understand how it broke, looking up better ways to solve it now that you have better vocabulary to describe the issue, then try and adapt what you found to make it work for your application. Then slowly over time you become better at solving the problems you encounter without needing to search online for solutions.
I don't have any specific tutorials to suggest. Just do a search and see what you find. For the actual deployment, many hosting providers have instructions for how to set up some popular methods on their services.
@vivekkrishna said in Show Quotes on New Tab:
some people say that focus on any one role like web developer or python developer, WT do u say
I haven't ever worked in a programming job, but I can give you my limited insight.
It definitely helps to have a specialty where you are particularly proficient, but it is important to be flexible. Programming is always changing in what is relevant and useful. With stuff like web development, there is always some new framework that everyone starts using, so you have to be able to adapt and learn new things.
Employers often like to see a portfolio of projects you have worked on so they can gauge your ability to try out different technologies and learn how to use them.
Edit: And now I go to sleep. Stayed up way too late...