All Questions

1
answer

What is the file with the extension ".css.map" when I compile a Sass script?

I'm learning how to use Sass. All learning is going well. The only thing I do not understand is that every time I compile a .scss file, it generates a file with the same name, with the extension .map . What is the purpose of t...
asked on 05.02.2016 / 11:41
1
answer

How to transfer data from one javascript file to another on different pages?

I have a simple website, with two HTML pages each with a linked JavaScript code: First Page: <!DOCTYPE html> <html> <body> <script src="primeiraPagina.js"></script> </body> </html> S...
asked on 05.10.2015 / 03:54
5
answers

link is not called

I have a jQuery code that generates a div it works quietly, in it I have the following excerpt div += "<p>Coloque o seu <a class='text-orange' id='link_new_ad'>veículo a disposição</a>!</p>"; Then I add this div and...
asked on 02.12.2015 / 13:08
1
answer

Hide divs with similar ID

I have several div tags with similar id, they all start with cn - , example: <div id="cn-name">...</div> <div id="cn-email">...</div> <div id="cn-pass">...</div> How can I interact with all of them with...
asked on 08.08.2016 / 15:50
2
answers

What is the use of declaring variables using braces?

In PHP, variables usually have a pattern to follow in their declaration. According to the manual:    Variables in PHP are represented by a dollar sign ($) followed by   variable name. The variable names in PHP distinguish between   upperca...
asked on 31.07.2015 / 20:48
5
answers

Separate ddd from phone with SQL statement

I have a table with DDD and Phone fields. Some have been registered correctly, others ddd is next to the phone and I need to separate. TABLE +--------------------+ | DDD | Telefone | +--------------------+ | 47 | 89876543...
asked on 10.12.2015 / 16:29
1
answer

Error undefined using replace ()

I'm trying to make a kind of people marking, I tried, but I did not succeed. Where is the error ?? var nome =["Ana", "João", "Maria", "José"]; var frase = "@[1] é casado com @[0], e @[2] é casada com @[3]."; var msg = frase.replace(/...
asked on 13.11.2015 / 00:01
2
answers

CSS Reset or Normalize?

I've heard about CSS reset and I'm also aware of Normalize CSS which is a type of reset for browsers to render basic CSS in a standardized way. Looking for the best solution in CSS, I had the doubt: Which one to use?     
asked on 24.11.2015 / 13:18
2
answers

How to leave responsive .svg image inserted directly into html

I have an image of the map of Brazil in svg all mapped and when resizing my page it does not follow this resizing, I have read some articles and tried some solutions and in none of them I succeeded The page with the map and the code is...
asked on 26.11.2015 / 20:23
1
answer

Recursive analysis of a vector

QUESTION: Write a recursive function that parses the elements of a vector and returns one of the following codes: 0 Disordered elements 1 Items sorted in ascending order 2 Constant elements 3 Items ordered in descending order int A...
asked on 04.10.2015 / 15:37