Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. D

    HTML & CSS What tools should I use for color matching?

    What tools should I use for color matching? I got a task: pdf file. I took the program with a "pipette". Got the color code. I paste it into HTML. Result: the colors in the task and the HTML page do not match. How to choose a color?
  2. D

    Node.JS How to correctly prescribe if there is a filter for the filter?

    There is a filter. The filter filters by the "full name" field. Everything works. Logic: - the user enters the criteria for the filter in <input id="fio"> - criteria fall into JS - data is received from the database - the HTML table is stored. How to set up a filter for...
  3. D

    HTML & CSS Positioning of bootstrap child rows.

    Positioning of bootstrap child rows. Let's say there are three rows nested in the parent div: Row-1, Row-2, Row-3. Solution-1. Row-1 - fills the free space (Row-2, Row-3 - 50/50 ); Row-2 - fills the free space (Row-2, Row-3 - 50/50 ); Row-3 is pressed to the bottom point of the parent. The row...
  4. D

    Node.JS How to organize page navigation correctly?

    How to organize page navigation correctly? Problem: PageOneOne page: - go to PageOne - does not work (I get a link: “/pageone/pageone". Error 404); Index page: go to PageOne - it works; PageOne page: go to PageOne - it works; go to Index - it works; PageOneOne page: go to PageOne - does not...
  5. D

    Node.JS How to connect `Bootstrap` using `nmp`?

    How to connect `Bootstrap` using `nmp`? In a cdn project, Bootstrap is connected. Prosjects: - cdn - https://disk.yandex.by/d/fyuicfi8nli_pg - npm - https://disk.yandex.by/d/CGBJmRhX4vqm6A app.js const express = require("express") const path = require("path") const app = express()...
  6. D

    Node.JS How do I transfer a collection from ejs to a javascript function ?

    How do I transfer a collection from ejs to a javascript function ? Тег `< a >` <a style="font-weight: bold;" href="#" onclick="setMessage3('<%=articles%>', '<%=article.id%>')"><%=article.title%></a> Тег < script > <script> function setMessage3(articles, id) { <!--...
  7. D

    Node.JS How to filter the list without reloading the page?

    How to filter the list without reloading the page? **Logic** - the user enters the filter criteria in the filter field; - result: the list is filtered without reloading the page; **Note** The criterion for the filter is the text. Filtering is carried out by the field: `title`. In...
  8. D

    Node.JS I can't go to another ejs page.

    I can't go to another ejs page. Index.ejs <h1>Index page</h1> <a href="/about" >About-1. Описание</a> </br> <a href="http://localhost:3000/About/" >About-2. Описание</a> In routes.js added. .get('/about', (req, res) => { res.render('about'); }) routes.js Full code const...
  9. D

    Node.JS Main menu in the form of a tree

    Advise ready-made solutions: on the left the main menu in the form of a tree, on the right the article. Logic: - the user clicks on the menu; - an article corresponding to the menu node appears on the right. Preferably without updating the entire page, i.e. after clicking on the menu, only a...
  10. D

    Node.JS Error You have tried to call .the(), .catch() [closed]

    You have tried to call .the(), .catch() **Question.** 1. What is the reason for the problem? 2. How to fix the problem? I have a project, I want to launch it. The project is located in the folder `e:\Test\Pro01\`. **I've done it:** - I opened the Windows console; - I entered the...
Back
Top Bottom