frontend

How do I turn off input type=radio?

When you click on input type=radio, it turns on, but when you click on the same input again, nothing happens, is there any wa ... either through an attribute in html or in css, but if there are no such options, then there is already a sample code in js.

Box-sizing doesn't work

Hello. There is a trace. markup: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtm ... .cols container display:inline-block, everything works as it should. Code in jsbin. Why doesn't box-sizing work in this case?

Smooth page scrolling

Hello, dear forumchane! There is such a question, who does the smooth scrolling of pages? I myself currently use nicescroll, but not everything is as perfect as I would like. Here is an example of my work http://skferson.ru/

How do I change the background by clicking on the button?

How can I change the background image by clicking on the button? I only managed to make the background color change. I'm new ... Color();">Click</button> </div> <script src="app.js"></script> </body> </html>

Adaptive HTML/CSS layout

body { background: orange; margin: 0; margin-top: -140px; width: 100%; height: 1109px; } #container { ... gled a lot of things, but I didn't understand how to fix it. How do I fix this? (Without changing the position of the blocks)

Help with building GULP

There was a problem-a ghost that appeared just out of nowhere. In general, my GULP build lives quietly, but when saving chang ... p.series('clean', 'export')) . And also, I attach a photo of the file structure of the project. THANK YOU VERY MUCH!!!

Google speed page

My task is to make this site in the green zone in Google speed page, and now it is in the red zone. Removed everything that i ... ix this please? https://developers.google.com/speed/pagespeed/insights/?hl=RU&url=http%3A%2F%2Ffront-up.ru%2Fevakuacia%2F

How to pull an overlay from a layout (psd)

There is a layout https://dropmefiles.com/PHfGJ it has some kind of graininess or gradient or something. In general, here, I look at the color in one place And in the other Tell me how to pull this overlay for the layout.

Why Pixel perfect layout?

Why write a pixel perfect layout? I understand that Position: relative and negative margin are used for this. This is from on ... ally boring work for the layout designer. Explain your vision and the need to use it, and do you use it in your work? Thanks.

The webpack does not see any loader: You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file

Webpack.config.js const path = require('path') const HTMLWebpackPlugin = require('html-webpack-plugin') const {CleanWebpackPl ... g of this run can be found in: npm ERR! C:\Users\User\AppData\Roaming\npm-cache\_logs\2021-01-12T12_45_46_907Z-debug.log

npm i gulp-sass --save-dev error

Please tell me what to do. or how to install sass E:\test>npm i gulp-sass --save-dev Npm WARN deprecated [email protected]: r ... not a problem with npm. There is likely additional logging output above. Npm ERR! A complete log of this run can be found in:

Uncaught Error: Objects are not valid as a React child (found: Error: Request failed with status code 400)

Hello everyone. I create a page on React and I get this error. As I understand it, there is a problem with working with array ... le falls out. In addition, as you can see in the screenshot there is a 400 error. However, the API works absolutely correctly

templates fall off after changing html or css in gulp-file-include

Hello everyone, I use gulp in the layout and faced with such a problem.I installed the gulp-file-include package, configured ... ; gulp.task('default', gulp.parallel('watch', 'server', 'styles','scripts','fonts','fileinclude','html','icons','images'));

Example of MVC and MVVC in Angular2+

Good day to all, I read a dozen articles and so, and did not understand what is the difference between these 2 templates and ... interface. I want a clear answer, what applies to what in MVVM, what is what in MVC and how to understand when, what to use.

How do I configure gulp correctly?

let gulp = require('gulp'); // Sass пакет let sass = require('gulp-sass'); // Browser Sync пакет let browerSync = require('br ... Rejections (internal/process/task_queues.js:79:11) The scss file converts to css, but without minification, how do I fix it?

When minifying js, there is a confusion of variables

There is a code in JS: success: function (data) { if (data.isSuccessful) { let result = JSON.parse(data.data); ... to deal with this? I use BundlerMinifier Screenshots debugs: Another minifier also gives the variable the same name.

Blurry font in Google Chrome

I'm developing a website. The original version is located at test.rmcb.ru. Later, I added sections to the site, but the f ... use in the first and second cases, it is the same. What's the problem, because I didn't change the code of the first screen?

How do I stretch the block to the height of the image?

There is a block with a picture inside it. You need to make the height of the image. I've been dancing around it for 2 days, ... ou set the height of the image to 100%, and not auto, then the image will be compressed in this block with a height of 240px!

Using JS for the front-end in Django

I make a website on Django, everything seems clear with the back end, but I want to make a beautiful good page, and for this I need JS, tell me how to connect js, jquery, and so on

How do I ignore the parent's increase when font-weight: bold?

I have several li, where display: inline-block is a menu. The fact is that the active menu items are adds border to 2px b ... a font-size 18px display inline-block color textBlue border-bottom 1px solid #c1ddf1