Questions tagged as 'front-end'

2
answers

How to version front-end projects?

How to version front-end projects? Semantic versioning has the following approaches: MAJOR - when you make incompatible API changes MINOR - when you add functionality backward compatible PATCH - when making bug fixes backwards compa...
asked by 07.09.2017 / 17:23
1
answer

Chrome and bug background fixed

I have the following problem: I have some separate sections on the page in divs. Two of these divs get an image like background and background-position:fixed , so when scrolling the page the images should scroll together, making...
asked by 18.11.2014 / 11:33
1
answer

What is the proper folder architecture to apply to a web project?

My project comes down to PHP pages, with folder for images, css, js, and fonts. I have already seen that some developers use one folder for project development and another folder for production. I would like to know how to work with these arc...
asked by 19.02.2014 / 14:48
2
answers

How to use Materialize with Angular?

I'm developing a project, but even though it imports all the CDNs, the angular and the materialize, the materialize JavaScript does not want to work along with the angular, is there some kind of conflict? Importing files: <script src="ht...
asked by 22.06.2016 / 23:58
1
answer

How to merge an already mined file with grunt-contrib-uglify

The situation is as follows, I'm using grunt-contrib-uglify to mine the javascript for my project in a single file, the problem is that one of these files is already mined, and uglify does not add it to my target file, causing syntax error i...
asked by 13.03.2015 / 21:39
2
answers

Fit image inside the canvas

I have a page that allows you to insert an image inside the canvas element and it works perfectly. Now, what I need is a way to limit the positioning of the image inside the canvas, not allowing any remaining white space, regardless of the po...
asked by 28.06.2017 / 16:16
2
answers

Is it possible to apply push technology?

I have a system, in which it displays database files, in list form. I query the database every 5 seconds to see if there are new files, and if it has it shown to the user, using AJAX. Why this? To avoid updating the page at all times, to s...
asked by 08.09.2014 / 20:57
5
answers

Difference between back-end and front-end? [duplicate]

Well, there's a home page that has 3 filters: (select) Property Type: House or Apartment (select) Business Type: Buy or Rent (input) City or neighborhood The person enters the 3 search parameters and clicks the "search" button. Next...
asked by 03.06.2016 / 20:05
3
answers

SASS and SCSS: why use them instead of conventional CSS?

I often hear about SASS and SCSS, but I do not know exactly how these tools work. I just know they are CSS generators (?). I found a related question here but it does not address the question of why it uses them, just the syntax differenc...
asked by 30.04.2018 / 17:53
4
answers

Why "html, body" and not just "body" to delete page margins?

When you want to delete the default margins of the page, I always see the following CSS code: html, body{ margin: 0; padding: 0; } Why use html, body if using only body what is the body page already solves? Example:...
asked by 09.02.2018 / 02:17