Questions tagged [html]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

CS50w / Project 3 - Mail / Inbox showing duplicates

I'm currently on Project 3 in CS50 Web and pretty much completed it. However, there seems to be a bug in unarchiving emails. Whenever I click the unarchive button and it reloads the Inbox, there seems ...
0
votes
0answers
5 views

JavaScript functionalities not applied when JavaScript code written in an external .js file for a flask application

I'm working on project2 of CS50's web programming using python and javascript. I've made a .htm file and I need to write some javascript code for the page. I first wrote the code in an external file ...
0
votes
1answer
16 views

CS50 Final Project / Personalized HTML path

I'm on the Final Project for CS50 and trying to make a simple website to type in General Tasks and get information within different Subjects. I decided to use Flask over Django, however now I'm stuck ...
0
votes
1answer
34 views

Problem Set 8 / Finance. How to incorporate current price (index)

I'm currently struggling with index(). In buy() I created the custom table with, one might say, too many columns. Among others are symbol, name, shares, price, total. So far I was able to plug some of ...
0
votes
1answer
18 views

Linking to local html page

I am trying to link to my own html page that I have created in CS50 IDE. The html code is below. I have included 8 variations on trying to find the file. All return error 404. I have the file: &...
0
votes
1answer
9 views

how to autofit a webpage to any screen size

I am pursuing web track for pset8. I am using fixed number instead of percentages for size of each element. How can I make sure that the webpage can fit to all screen / window sizes without getting ...
0
votes
2answers
193 views

How To Make A Google “I'm Feeling Lucky” Button For CS50 Project 0

In the project 0 requirements, it says that I need a Google "I'm Feeling Lucky" Button. I am not sure on how to make one. Does anyone know how to make a "I'm Feeling lucky" button. ...
0
votes
1answer
25 views

Finance Portfolio (index) I can't go on. Need to take to HTML the actual price and total of stock

I am stopped at this part of Finance now. I can print at HTML the symbol and the sum of the shares... but I don't know how to take the iteration for each symbol to the HTML to know the actual price ...
0
votes
0answers
17 views

Final Project: dynamic page creation to show just 10 SQL entries per page

I'm developing a web-page for my CS50's Final Project for contacting japanese students around Argentina. The only official japanese exam takes place in Buenos Aires, and there are no many good places ...
0
votes
0answers
46 views

How do I create an advanced query page using HTML and CSS? Should I use any other langauges to make it a faster process?

How do I create an advanced query in HTML and CSS? I have to create a front end similar to Google and have already outfitted the first two pages, it's the 3rd page, the advanced query page that I need ...
0
votes
1answer
33 views

RuntimeError: missing value for placeholder (:name)

all! I'm doing the final project, and I have a form whose contents I'm trying to submit to a database. My python code is: @app.route("/Contact.html", methods=["GET", "POST"]) def Contact(): if ...
0
votes
0answers
32 views

HTML: Trying to download files from directory

On the quote.html page I have a download button that I want to download the text.txt file in the files folder but when I press the button it tries to downloads text.htm and outputs an error since ...
0
votes
0answers
15 views

Bubble sort not working

Bublesort <p id= "notiz">Hello World!</p> <script> document.getElementById("notiz").innerHTML = "The results of Bubblesort:<br>"; var mannschaft = ["Leander", "...
0
votes
0answers
17 views

Flask-socketio not able to send instant messages

I am trying to make a basic chat application with rooms using flask-socketio, but whenever I run the code on my browser, a weird error comes on the console and I am not able to send any messages ...
0
votes
0answers
16 views

href not working properly

i have a layout html file in the following path: C:\Users\user1.vscode\files\web50p1\templates\layout.html in which i have the following code: <a href="/logout">Log Out</a></li&...
0
votes
1answer
10 views

How to reduce paragraph width without moving paragraph to the side?

I am doing the homepage part of the web track. However, I am currently using text-align: center; but my text stretches across the whole screen. I tried to reduce the width, but that makes the text ...
0
votes
0answers
17 views

Unable to get the username from html to javascript

I'm trying to get the user enter a username and access that value from a separate js file. No matter what method I try it doesn't work. If I run the script from within the html file then I'm able to ...
0
votes
0answers
17 views

CS50's Web Programming with Python and JavaScript Course, cd src and open hello.html isnt working

So when using Git in the course, they say you need to do src cd and it will show them the username web, then he types open hello.html and it will show the page in the browser but for mines it isn't ...
0
votes
0answers
17 views

Bootstrap carousel slides works in local drive, but does not work in Github page

This is for Project 0. I wanted to include a carousel slider as a bootstrap component. My Carousel bootstrap component works fine in local drive. But when I push the files to Github pages, it stops ...
0
votes
0answers
6 views

HTML NAV. positioning using CSS overlapping contents

I tried asking this on stack overflow but it's saying I have reach some kind of limit. Hi, I'm tryiing to create a nav link that will jump to a specified section on the page on click. The problem ...
0
votes
0answers
12 views

How to display “ hello world” in web page using html through git bash

how to create our website(displaying hello world) using git bash commands... I created a repository in GitHub and cloned through git clone and made commits. brian used commands src and open hello. ...
0
votes
0answers
15 views

How to send data from a function of an imported python file to a html template using flask in Python

I have two python files, one for calling the html template which I will run and the other which has the funtion I want to call. I'm fairly new to flask python programming. When I run my main python ...
0
votes
1answer
16 views

finance: how to build an “active” table

I wish to know how to build a table (in HTML) where the row expand with the row I input on it. For a static table I've used: <table style="width:100%"> <tr> <th>Symbol</...
0
votes
1answer
14 views

a:hover and a:active tags not editable in html/css

I'm trying to make a homepage as per the pset5, and want to change the color and decoration of hyperlinks. The a:link and a:visited tags were editable, but not the other two. Here's my code for ...
0
votes
0answers
18 views

Very Basic JS Troubles!

I don't know why this is proving so difficult but over two hours of googling has not solved my problem! My code is below. I have create a very simple set of mutually exclusive radio buttons. What I ...
0
votes
1answer
13 views

Why the <p> need not be closed?

I am receiving this baffling error in the validator: Error: No p element in scope but a p end tag seen. From line 13, column 11; to line 13, column 14 </p>↩ <!DOCTYPE html> <...
0
votes
1answer
39 views

Final project (very similar to Finance) : How can I delete selected row of table?

In mynote.html, there is a table of words. It is very similar to history.html or index.html of Finance (pset8). I want to upgrade it for my final project, so I tried to make 'delete'. But, there is a ...
0
votes
2answers
439 views

How to pass value from HTML to python?

I'm setting up a new project in python ,and want to setting up a web pageresturant.html using FLASK , this code in html get the selected value from drop down box when button is clicked ,how can i pass ...
0
votes
1answer
285 views

Add a file containing the images inside IDE

how to add the file from my computer to cs50 IDE? I need to that to add images file to HTML file.
0
votes
1answer
17 views

Trying to fetch data in HTML tags and translating it and merging back

I want to translate the page in a french language but the data is present in html format in a excelsheet. So how can we fetch just the relevent data and translate it and then merge it back in correct ...
1
vote
1answer
252 views

html and CSS link do not work Homepage Problem

everyone. I am currently working on the CS50 pset5 homepage problem. I have encountered a problem in my code. The code needs to contain at least four different .html pages, and it should be possible ...
0
votes
1answer
35 views

Does CS50 IDE run SSI?

I'm on pset5, trying to make a homepage with multiple HTML files. I want all the files to share the same navigation bar heading, implementing this in a way so that I don't have to copy the same code ...
0
votes
0answers
87 views

Issue with CS50W's Project2 - submitted text not passed to chat window

I have a problem regarding passing posted messages into the proper field and presenting them to the user. The app is supposed to transfer the text submitted in "messenger" into the "messages" so to ...
0
votes
1answer
291 views

Final Project - Problem uploading files to IDE folder

Update: Does anyone know hot to get the folder's absolute path? It isn't ~/workspace/fp/documentos/ or any of it's variations, such as /workspace/fp/documentos/ or workspace/fp/documentos/. It seems ...
0
votes
1answer
364 views

Access just the text from a db.execute return

Evening all. I am working on my final project and have a question about db.execute. When I run my SQL search the return always has the format {"key": value}. Is there any way to then extract the ...
0
votes
2answers
358 views

cant find preview option for html files on cs50 ide

I have been using cs50 ide for more than a year and for the first time today, for no reason I cant find the preview option for html files I dont know why this happened, it was there a few weeks ago, ...
0
votes
1answer
53 views

Why my css file is not being implemented in my html file?

<!DOCTYPE html> <html> <head><title>A Day in life of a dog</title> <link rel="spreadsheet" href="style.css"> </head> <body> <...
0
votes
1answer
174 views

Hoe to code HTML links to other CS50 files within CS50 IDE

Please could someone let me know how to code links to other files in HTML within CS50 IDE which would form additional sheets within a website? I know how to code links to external sites but can't ...
0
votes
0answers
246 views

Final Project - Error: Templates Not Found

I have just started my final project and am simply trying to allow users to login and register however, when I run flask, I get an error: jinja2.exceptions.TemplateNotFound: homepage.html although all ...
0
votes
1answer
143 views

similarities (less) invalid algorithm

My three algo's pass check50 and tests when running directly, but when uploading files / choosing the algorithm, I either get: 1) 400: The browser (or proxy) sent a request that this server could not ...
0
votes
1answer
30 views

How to dictate HTML server messages? PSET7 Finance

One of the requirements is that for buy() and sell(), if I do not put a positive integer for the text box for the number of stocks, my code should send a 400 message. I coded this in: <input ...
0
votes
1answer
289 views

Why can I not open my website in HTML?

This is just basic HTML. The website is just a poem by Stevie Wonder. Anyways, in the CS50 IDE I type in, "open hello.html" and there is nothing that happens! I thought this opens the website so you ...
0
votes
0answers
1k views

Serve pure html files without jinja in flask

As I am making my final project I get stuck at some points where I don't wish to use jinja as I wish to have my html file as a whole without extending any layout html file. In flask render_template ...
1
vote
2answers
2k views

Final project SQL Error: execute() takes 2 positional arguments but 3 were given

EDITED I am working on a conversion table website as my final project. I am using a base unit multiplier to convert one unit to the other. So for example centimeter to yard would look like this. ...
0
votes
1answer
91 views

Dropdown menu not showing. How do I fix it?

https://imgur.com/a/CrV15 You can see the above Imgur album to see what I'm talking about. Basically I can't see what options I have selected in my dropdown menu after selection. This is my sell....
1
vote
0answers
95 views

Pset7 - Quote always returning apology

So, I'm struggling with pset7 a lot (mostly because I've never programmed before either =/) now I'm on quote and it's always rendering an apology after I fill in the form. I can't quite figure out ...
4
votes
1answer
25k views

How to get a value using flask, from a selected option in a drop down list?

I have the following code for my form in HTML: <div class="container-fluid" id="feedback"> <p><h2>Give us your feedback on the cafe!</h2> <h4><em>...
0
votes
1answer
29 views

JS Dropdown in final project

My final project is a conversion website. I am trying to make a dropdown menu that when you click one of the options in the DD, you are taken to another page. When I put in the following code (from ...
1
vote
1answer
240 views

How do I cluster markers on a googlemap?

For my final project I'm creating a google map web app - building from what we learned in Pset8. I've got over 1,000 locations to add to my map - which looks pretty crowded, as you can see: I'm ...
0
votes
1answer
36 views

pset7-getting one value from database into htmk

so before I will do finance, I've wanted to build very simple site, where you could register, login and save in database how many times you've clicked a button. Problem is that I can't pass an ...