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
-3
votes
2 answers

Defining an array function in javascript

I was been asked in an interview to code for the following scenario. var ele = [2,5,4,8,4,9].second(); If the above statement is written in javascript it ele should contain second highest element from that array. In this case it should contain…
masterfly
  • 861
  • 4
  • 11
  • 24
-4
votes
1 answer

I am getting error in my Angular code I am unable to find the solution because I am new to this field

this is the GitHub code that I coded as it is watching his youtube video
-4
votes
1 answer

How to align html table to a customize canvas drawing

I need to build an UI (HTML 5) with two main components: customized chart drawn in HTML 5 canvas; a table. The gotcha is that the chart must be aligned with the table. If you horizontally scroll the table, the chart content will scroll too. One…
Chocksmith
  • 1,188
  • 2
  • 12
  • 40
-4
votes
1 answer

i have no of elements if clicking div count will increase. at the same time click other div, first div count will be 0?

You can store [data][1] with each element counting the number of times each was clicked. $('.container').click(function() { if ($(this).data('count')) { // already been clicked $(this).data('count', $(this).data('count') + 1); // add one …
SUGANYA V
  • 7
  • 3
-4
votes
1 answer

to external link returns link/Error in webapp, even though the server is not dead

I've got 3 links in the header of a .net C# MVC, with the following .cshtml file:
-4
votes
2 answers

How to further my Javascript development using cheap resources?

I've been studying JS in my free time for about a year now while maintaining a full time job not in the tech industry. Even though I'm still a slow minded fool, I think I've gained a fairly solid concept of the language and want to further my JS…
Caden Albaugh
  • 213
  • 4
  • 10
-4
votes
1 answer

Web front-end programming - Good way to make html pages dynamic

There is a web project use Java as backend & html5 as front-end. In a single signin feature, there are several static html pages: signin.html, get user info, signin_confirm.html, tip signin succeed, and need check email to confirm…
Eric
  • 22,183
  • 20
  • 145
  • 196
-4
votes
3 answers

why alert() cannot give message as i expected?

javascript code: // JavaScript Document function getInfo() { var username,office,phone,food,amount,cost; username = document.getElementById("username").value; office = document.getElementById("office").value; phone =…
SPiCaRia
  • 121
  • 10
-5
votes
1 answer

How do I use Wrap Bootstrap in a JS project? I have a bootstrap theme but it isn't clear how to add it to the project

I am interested in adding a Wrap Bootstrap theme to a website that I am building. This is my first time using a theme. It is not clear how I should add the theme to my project. I am using sublime. I will be using JS and React to build. Any guidance…
-5
votes
1 answer

How to make fadeIn and fadeOut effecet with delay of 3second using CSS for same div element or

I want to apply fadeIn and fadeOut effect on element or any other div tag with 3second dlay. answer CSS based only not use jQuery. thanks
Azhar
  • 693
  • 9
  • 22

-6
votes
1 answer

How do I align a button center of the web page?

I want to align this button centre of the web page; any ideas how to do that?