Questions tagged [html]

HTML (HyperText Markup Language) is the standard markup language used for structuring web pages and formatting content. HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language. HTML works in conjunction primarily with CSS and JavaScript, adding style and behaviour to the pages. The most recent revision to the HTML specification is HTML5.2.

0
votes
0answers
2 views

sorting through an array to place code in the proper divs through jquery

currently making a website to index and play movies stored on my hard drive that I've recently pulled off dvds just as a little side project. I have a 'master movie list' json file with all the data I ...
0
votes
1answer
14 views

PHP echo user text into chatbox div causes Undefined index error ( My Question is not about the session_start(); placement) [duplicate]

I am creating a chat website where people put their text into a input box and then it appears inside a chatbox. I'm trying to do this by turning the usertext into a session variable and then echoing ...
0
votes
0answers
19 views

Images from home page on website disappear on mobile

The website is www.jobconscious.com and the pictures on the home page disappear when the browser is resized to mobile size/view and when on mobile.
0
votes
2answers
27 views

Get values from html form to JavaScript objects

I am having problems with passing values from HTML to JavaScript. This is a little RPG game I'm building and I want the user to type its name, age, class, and race in a form and create a Character ...
0
votes
1answer
15 views

How to ensure Script sends an email containing an HTML table with full range of data?

I have created a function that will allow me to send emails to a list of contacts via Google Sheets. The email will include a subject line and a table containing the data from my spreadsheet. The ...
0
votes
0answers
12 views

front-end tokenizer for user inputs with insert/order awareness

I'm trying to find a react library or something similar to react-select, but with the ability to insert more tags/tokens between inputs. For example, in this photo, if I were to press the left arrow ...
1
vote
0answers
16 views

How to redirect to new ID of a url

I'm using flask form. When i run the code below to paste the new data to test.html, it returned the url of '/team1/test/[0]' but not '/team1/test/1'. Please help. Thanks. @application.route('/team1/...
0
votes
0answers
9 views

Capture keydown events for multiple child iFrames in parent document?

This question says the only way for an iFrame to capture keyboard events is when it has focus, but the goal is a little different. Our page embeds multiple iFrames, all of whom monitor the same ...
0
votes
1answer
25 views

Is there a way to align columns in HTML table?

I'm trying to create a basic form, including a table, at the beginning of an Angular project, but I can't get the columns to align. I've tried all manner of permutations with the styling for HTML &...
2
votes
3answers
38 views

This code isn't working & is their a more efficient way to do this rather than using a else if statement?

I'm new to all this, i have a project for college, can't seem to get this to work and it seems to have a lot of repeating code, any help would be great, thanks. var strength = document.getElementById(...
0
votes
1answer
17 views

Localhost style different from server style

In order to create a website, I first worked with MAMP in a local mode. After finishing the index page, I uploaded it. The problem is that the images on the website are bigger than in the localhost ...
0
votes
1answer
16 views

Make Split Layout Responsive (Bootstrap4)

I'm currently working on an HTML page that uses Bootstrap4. My idea is to have a split screen layout with a logo on the right side and a signup form on the left. I also need the page to be scrollable ...
0
votes
2answers
24 views

How do I make my jQuery countdown code work

This is a simple jQuery Countdown code for my website, which is supposed to countdown till the midnight of 1st April 2019. Here is the relevant part of the jQuery and HTML code. The problem is that ...
-1
votes
1answer
26 views

How to generate set strings in javascript

Trying to generate a set of strings such as 'TCP', 'DNS' or 'SQL' I want to be able to have these strings set and be able to have them appear randomly like you would with random numbers.
-1
votes
4answers
35 views

How to display and shut message modal when hovering over buttons

I would like to display a text description box when I hover over the button and close it when not hovered. At the moment, when my button is hovered the text box displays, however I need to click off ...
-4
votes
0answers
18 views

Need assistance on how to get my html code online. Have a GoDaddy Domain [on hold]

I have been learning web development. I have a few html files with come css. I have a GoDaddy domain. I have tried to update the name servers and adjust the dns settings, but my website (www....
1
vote
0answers
12 views

How does TurboLinks display response HTML?

I am studying the basic internal functionality of the JavaScript TurboLinks framework at the moment. From what I understand, onclick events are assigned to all anchor tags to be able to prevent the ...
1
vote
0answers
10 views

How to get bullets to work properly in glidejs

I'm trying to use glidejs as the slider on a website, however I can't get the bullets to work properly. The bullets are at the bottom of the example on glidejs' website on this page: https://glidejs....
-1
votes
2answers
26 views

CSS Class Visible Only On Hover Only - Not Working

So the final result I am trying to achieve is only show .panel-text when user hovers over panel. In this case I tried the overlay CSS class, since it covers the entire div. Yet whatever I do either ...
0
votes
0answers
6 views

Is there a way to stop lag when going through a for loop?

Im generating primes and it will lag until its done. My question is there a way where I can make it so it doesn't lag. Example; if your generating up to 1000, I want it to just spit out the answers ...
1
vote
0answers
7 views

Boostrap from-group style being crossed out

Im trying to reduce the vertical padding on the text form inputs. Specifically my html is: In my css, when I do the padding mod: .form-group{ padding-bottom:1px; } it doesn't take (...
-2
votes
1answer
27 views

Use Jquery variables to make different DIVs appear and disappear

I have a webpage that has 4 divs on the splash page. When the page first loads only the home div is visible, the other three are hidden. There are buttons connected to jquery click events to make ...
2
votes
1answer
29 views

Why am I getting null for a document.getElementById call, after $(document).ready(function() { … }) is called?

Have a small example. I'm probably missing something basic, it's been a while since I worked with javascript. My issue is I'm getting the error (in Chrome developer tools): "Uncaught TypeError: ...
-2
votes
0answers
25 views

How to make my design element 'Services' to show up as flip cards by using html/css?

(function($) { "use strict"; // Start of use strict // Smooth scrolling using jQuery easing $('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function() { if (location.pathname....
-4
votes
0answers
15 views

How to get user latitude and longtitude Django

How to get users latitude and longtitude whenever click button Upload i want to autofill latitude and longtitude in models.py and stored in my database. How to solve this. view photo models.py ...
0
votes
0answers
18 views

I have HTML files in the same folder but they don't work. Why?

I'm having 4 files in the same HTML Folder on my local machine which is Jen_MoodBoard, and here is my code: <script> document.getElementById("outdoorPhotography").onclick=...
1
vote
1answer
31 views

return function value inside conditional statement

I have a function with arguments, inside the function, I have if statements. When I try to execute the function. It only works when the if statement is true, it does not work if statement is false. ...
0
votes
0answers
27 views

Modal not rendering vertically and horizontally to the centre of the screen

I have created a modal component in angular and need to render the modal to centre of the screen. It should be vertically and horizontally to the centre. I am have width of 95%. The height is also 95 %...
0
votes
0answers
18 views

keyerror in formset form field

I am making a delivery note transaction form, I have created a formset for which I want Django to ignore item transactions where the item is not selected and is empty. forms.py class ...
0
votes
0answers
24 views

Rotating an HTML element with mouse (or mouseevent) with CSS zoom applied

I've found an example of rotating an HTML element in an old SO question: http://jsfiddle.net/superasn/w48rsvp2/ Unforunatately as soon as I apply any zoom (style="zoom:0.5") to the parent element ...
0
votes
0answers
22 views

Pass the child index to selector list dynamically

I need to fetch the fields on the form for my automation. There are three fields on the form. And based on some particular value of first field, form adds the additional field after the first field on ...
0
votes
0answers
18 views

.php file does not find file or directory of <link> or <script> html tags

Whenever I run my .php file on atom as "start in folder of current file" the FullCalendar link and script files cannot be found. This makes it so the calendar does not load. If I covert the file to ....
-1
votes
1answer
12 views

Require a user to select at least one HTML checkbox

<input type="checkbox" name="category" value="Restorative"><label for="">Restorative</label> <br> <input type="checkbox" name="category" value="Esthetics"><label for=...
0
votes
2answers
37 views

Why vertical-align does not work in this specific example

Why does Vertical-align not work on the element I am trying to align? But works if I align other elements around it? I have read few articles on vertical align, which state that it was created to ...
0
votes
0answers
13 views

Event Listener “click” won't fire to change css display? [duplicate]

I just started learning javascript, so I'm probably missing something super simple...but my function (displayGallery) isn't working with my "click" event listener. I'm trying to change the display ...
-1
votes
2answers
33 views

.submit is not a function, but i have no names or ids “submit”. Why?

I have form with input and button that has type="submit". When i am trying to create a submit event i got an error "submit is not a function". I was trying to google this problem, but found only one ...
1
vote
1answer
27 views

How to create a 3 column layout with fixed navbar in flexbox

I've been trying to rewrite my CSS layout to use flexbox. I've been playing around with it for a long time but cant seem to get the result I want. I would like to be able to have a fixed navbar column ...
1
vote
1answer
20 views

Navbar isn't clickable in just one section of site

I want the navbar to remain in a fixed position. It works fine but the links aren't clickable in my showcase section. As soon as you scroll down it becomes clickable again. I need help understanding ...
0
votes
1answer
28 views

Css - how to change element size if it reached to certain spot on screen?

I've dynamically created some divs with random color who are scattered over the page randomly. I want to use css to give them a condition that says that if the div is located above let's say 600px on ...
0
votes
1answer
29 views

How to make dots … hyperlink in php?

I am working on a php code as shown below in which I want to make ... hyperlink in php. <div class="video-block__contlink"> <p><?php echo limit_text($stream->excerpt, 240);//...
0
votes
1answer
36 views

How to get input of exact length?

How to set the input value of a text field to be exact? I want to get a document number of exactly 10 digit from user. The following two does not work at the same time: var input = document....
0
votes
1answer
33 views

Cannot get flex box to vertically and horizontally center item

So I'm setting up a extremely basic landing page for a friend. I haven't developed a website in a few years and I'm very out of touch. Been searching for ages but nothing seems to work. Trying to get ...
0
votes
2answers
42 views

SetInterval() function not updating page elements properly

I am trying to implement a timer where the user can choose a number of hours and a number of minutes, which will then count down in real-time when the user pushes a button. I am using the setInterval(...
0
votes
2answers
32 views

How to add JSON data to a HTML table

Currently I'm fetching data that I need to add to a HTML table once I receive it. I've tried a few things, but I'm not able to add the data dynamically once the page load. I want to add it using ...
0
votes
1answer
27 views

I have problem with padding text next to an img

I want to place text next to an image and add padding to it. I have both text and image in one box, so that may be problem. I also need site to be mobile friendly. Here is my code: .content-...
0
votes
3answers
17 views

Cant Get Answer Back In answer Box NAN is being shown

it does not returns prpoer answer it returnes NAN in Answer <html> <head> <script type="text/javascript"> function pro(n,p) { var number=...
0
votes
1answer
23 views

How to select tag in CSS with 2 classes

I want to make bigger selector specificity //HTML <input type="button" class="button filled" class="button icon" value="Learn More"> //CSS .button.filled button.icon { }
1
vote
3answers
34 views

HTML+CSS: How do I put this 2 buttons at the same level vertically

I want to align those two buttons (Login and Registrar) at the same level but as they are different forms "Registrar" button is being placed on the "next line". Here is the issue, visually: Here is ...
-1
votes
1answer
25 views

Internet Explorer is not executing my script

I've made a script that move the images as you, click the next and back button in my website, it works fine in Chrome, Firefox, Edge, Opera and Safari, but doesn't work in IE11. I've already tried ...

http://mssss.yulina-kosm.ru