Questions tagged [html]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 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
14 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
16 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 ...
-2
votes
0answers
12 views

Sparse CSS and HTML

Can someone help me with this? https://repl.it/join/arfliyut-ornellaspada They say there is a problem with CSS and HTML being sparse. Thanksss!
0
votes
0answers
30 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
18 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
31 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
15 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
12 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
9 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
16 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
11 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
10 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
15 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
13 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
0answers
55 views

Survey, problem with sheet.html and post_form

I finish my survey, but still have some bug in it. In my post_form, if I use the writer.writerheader() before writer.writerow in my csv file all information writing like this: name,animals,power ...
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
30 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
344 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
198 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
229 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
31 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
243 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
289 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
1answer
342 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
48 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
157 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
236 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
142 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
29 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
267 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
969 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
86 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
94 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
24k 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
235 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
35 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 ...
0
votes
2answers
51 views

Final Project help with centering html table

I'm currently working on the cs50 Final Project (a website). So I'm printing the data in a sqlite table as an html table for a page of my website. However, my table headers and data sometimes took up ...
1
vote
0answers
52 views

CS50 Final Project: Unique URL for each user of my flask app (2 of 2)

I have a pending question here: CS50 Final Project: Unique URL for each user of my flask app (posted two days ago) regarding the implementation of unique URLs. This unanswered question was in fact ...
0
votes
1answer
487 views

CS50 Final Project: Unique URL for each user of my flask app

For the final project, I am trying to implement a flask application where people may write diaries and read others' diaries. I would like to create a unique URL for each user that shows the diaries ...
0
votes
1answer
20 views

what is a node and what is an element in HTML?

Silly question i know, but i'm trying to understand the basics of HTML reference words so that I know what people are talking about. Please help! 1) My question is, what is a node and what is an ...