Questions tagged as 'html5'

2
answers

how to assign html code in the javascript variable?

I want to assign this code <div class="menu">...</div> to a JS variable, type this: var Code = '<div class="menu">...</div>     
asked by 25.04.2018 / 02:33
2
answers

Is it possible to save form forms in localStorage with pure Javascript? [duplicate]

I'm a beginner in Javascript and I'm making an application prototype for a college job, and I did not want to use a database or anything, because it's not worth it, I just need to test the GUI. In my application, I have a form, and would lik...
asked by 22.04.2018 / 18:29
2
answers

Problem creating link to the same screen

I have a navigation bar with two buttons that, when clicked, takes the user to a text, more specifically a subtitle. What happens is that when the button is clicked, instead of taking the user to the subtitle and stopping the scrolling, it goes...
asked by 30.01.2018 / 15:04
1
answer

Scrollbar showing alone

Follow the code below: HTML: <!-- Button trigger modal --> <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal"> Launch demo modal </button> <div id="myModal" class="modal fade"> &...
asked by 03.10.2017 / 03:32
3
answers

My input checkbox does not come with JavaScript

What I want to do with checkbox , is the same as radio does using JavaScript . Why do not I just use radio ? It's because if radio is checked, there's no way I can leave it unchecked. I know the logic in JavaS...
asked by 05.03.2018 / 20:36
2
answers

How to test site in different sized screens

I'm creating a website, but it's still only on my machine in localhost, how do I test on different screen sizes, for example on smartphone screens, androids, SOS, but, firefox, chorme ... I want this site to be compatible with all the screens, I...
asked by 08.03.2018 / 00:37
2
answers

How to draw dots between one image and another with HTML5 and CSS3?

I have icons, separated in divs, and the original layout has these dots. I tried using images, but it misconfigures my layout. How do you put these points between images?     
asked by 22.11.2017 / 12:18
2
answers

JScript - Discovering the id of the previous div

Good afternoon! Home I need a help to get the value of the previous div (red DIV01 ) What command can I use to get the result ?? Home The above Div is the right parent element? Home Sorry for the ignorance. function onClick(){} #DI...
asked by 05.10.2017 / 19:57
2
answers

JavaScript does not execute

I have the following HTML code: function idade() { var idade = document.getElementById('idade') alert("A idade do cliente é: " + idade); } <form name="cliente"> Nome: <input type="text" name="nome" /></br>...
asked by 09.08.2017 / 05:46
3
answers

How to focus on a row by the contents of a td column?

I created a function to give focus in line of a table , in this function I have to find the cell with the same values that I will pass by parameter. She wished that when she found the line she was looking for, she would just evidenc...
asked by 27.03.2017 / 15:49