Click here to Skip to main content
15,905,679 members

Comments by Thor Odinson 2021 (Top 6 by date)

Thor Odinson 2021 20-Sep-21 10:14am View    
I am a beginner in flask, can you please help me out?
Thor Odinson 2021 20-Sep-21 10:00am View    
I want "/chapter1" to open when button "Chapter 1" is clicked. How can I achieve that?
Thor Odinson 2021 20-Sep-21 7:45am View    
127.0.0.1 - - [20/Sep/2021 17:12:29] "GET /chapters HTTP/1.1" 200 -
127.0.0.1 - - [20/Sep/2021 17:12:30] "GET /favicon.ico HTTP/1.1" 200 -
127.0.0.1 - - [20/Sep/2021 17:12:45] "POST / HTTP/1.1" 405 -
127.0.0.1 - - [20/Sep/2021 17:12:46] "GET /favicon.ico HTTP/1.1" 200 -

I guess this is what you are asking!
Thor Odinson 2021 20-Sep-21 6:54am View    
When I manually type "127.0.0.1:5000/chapter1", the desired page is opened. But I also want to open the same page when I click on the button "Chapter 1". My doubt is that why don't the page opens when the button is clicked and it opens when typed manually?
Thor Odinson 2021 20-Sep-21 6:02am View    
When we have "127.0.0.1:5000/chapters" (chapters.html), 5 buttons should be there and after clicking the first button the url should be "127.0.0.1:5000/chapter1" (for which the template is questions.html). But in this case, after clicking the first button, I'm getting the error. That's my question that where am I going wrong?