Questions tagged [web-frontend]

A refinement of the more generic frontend tag. In a web application this usually means HTML, CSS and JavaScript

Related: frontend, css, html, javascript

1441 questions
613
votes
14 answers

Bootstrap NavBar with left, center or right aligned items

In Bootstrap, what is the most platform-friendly way to create a navigation bar that has Logo A on the left, menu items in the center, and Logo B on the right? Here is what I've tried so far, and it ends up being aligned so that Logo A is on the…
Aliv
  • 6,155
  • 3
  • 12
  • 6
96
votes
3 answers

What is causing the warning 'Removing intrinsics.%ArrayPrototype%.toReversed' in React?

I am getting following warning on first load of my App. lockdown-install.js:1 Removing intrinsics.%ArrayPrototype%.toReversed intrinsics.%ArrayPrototype%.@@unscopables.toSpliced intrinsics.%ArrayPrototype%.@@unscopables.toSorted I really have no…
Kvz
  • 1,141
  • 1
  • 3
  • 9
51
votes
8 answers

Angular - No pipe found with name

I've created a pipe using "ng g pipe" command. I'm getting a console error when I'm using it in my code. The screenshots of the code are attached below. Error: error NG8004: No pipe found with name…
Riyasree
  • 567
  • 1
  • 4
  • 10
24
votes
2 answers

Create a responsive navbar sidebar "drawer" in Bootstrap?

Trying to achieve something like this : https://www.muicss.com/examples/v1/example-layouts/responsive-side-menu/index.html I've seen some examples online using other versions of bootstrap, but they all change the css too much, which makes it harder…
Mojimi
  • 2,561
  • 9
  • 52
  • 116
20
votes
6 answers

How can i send emails without a server ? Only front-end Javascript with sendgrid or

i was wondering lately how i could send emails with only a front-end language like Javascript through Email as a Service apps like sendgrid or mandrill or so. Sendgrid and mandrill have Curl APIS, so basically i can just do an AJAX post request to…
darkylmnx
  • 1,891
  • 4
  • 22
  • 36
19
votes
3 answers

what is font-display CSS feature?

For my website, I am getting following feedback from Google's PageSpeed Insights: Leverage the font-display CSS feature to ensure text is user-visible while web fonts are loading. What does that mean?
Mojo
  • 498
  • 1
  • 8
  • 16
17
votes
2 answers

Is singleton guaranteed to be preserved during webpack or rollup module bundling process?

Understanding the fact that singleton creates a shared global state, there will be situations where I might want singleton such as redux store/state object. If I am using ES modules, I can use the simple code as follows to create singleton: // a.js…
Harshal Patil
  • 17,838
  • 14
  • 60
  • 126
15
votes
1 answer

Where and how to store API endpoints in vue js?

I am using vue-cli for front-end and lumen for back-end and I am curious about what is a best practice to store API root-url and endpoints in vue ? Now I have constants.js file in src directory where API root-url and endpoints are like that: const…
Nika Kurashvili
  • 6,006
  • 8
  • 57
  • 123
15
votes
2 answers

How to embed an interactive Jupyter notebook into html?

I am trying to create a web application that allows users to create and share Jupyter notebooks. Currently, I have JupyterHub up and running and am able to spawn new servers for individual servers. However, I do not know how to embed a Jupyter…
mintchip36
  • 171
  • 1
  • 1
  • 5
14
votes
2 answers

Use of Node JS for Frontend

I have heard about Node.js being used in the frontend side of the application as opposed to the backend side, but I cannot find any use cases for which it can be used. Can somebody explain the use cases for which Node.js is used in the…
13
votes
2 answers

Thymeleaf list within list input

I have a data structure like this :- WorkHistory{ List jobs; } Jobs{ List workDoneSentences; } Basically, I am trying to collect all past jobs where a person has worked and the work that he hsa done there. So it is a list of…
jetty
  • 859
  • 2
  • 17
  • 37
11
votes
1 answer

Rendering React components with WebWorkers

I saw some stuff online about rendering React components with HTML5 WebWorkers..even Pete Hunt the head honcho behind React was talking about it. I have some CPU intensive work over each element of an array followed by a React render of each element…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
11
votes
2 answers

Is it possible to combine Dojo with other JS frameworks?

We are using Dojo (1.9.3) as a JS framework for building a single page application. We are however spending too much time on the quirks of Dojo, so even simple tasks take a long time to implement. And since there is lack of proper documentation, we…
mflodin
  • 1,093
  • 1
  • 12
  • 22
10
votes
7 answers

How to create a web interface for a windows service in .Net?

I'm looking for a way to host a web UI in a windows service so that I can configure and control it within a browser. I'd like a simple and lightweight solution, and I don't want to use IIS. I could probably hand-roll most of it but I was wondering…
David Thibault
  • 8,638
  • 3
  • 37
  • 51
9
votes
1 answer

Mobile browsers don't trigger `beforeunload`/`unload` when closing browser

I am working on mobile browser about 3 months and now i have a boring problem with beforeunload and unload. In two situation they do not work clearly. When I close the tab, the browser often calls them. But while user closes the browser with some…
sina zarei
  • 87
  • 1
  • 5
1
2 3
95 96