Trending questions in Web Development

0 votes
0 answers

What is the difference between HTML div and span elements?

Please provide some straightforward examples of how ...READ MORE

Jul 21, 2022 in HTML by Ashwini
• 5,440 points
• 1,185 views
0 votes
0 answers

How to do something like border-top-left-color. [CSS]

Only border-left-color, border-right-color, border-top-color, and border-bottom-color are ...READ MORE

Jul 18, 2022 in CSS by Edureka
• 13,790 points
• 1,307 views
0 votes
0 answers

How to locate the php.ini file (xampp)?

I am using xampp server for PHP ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
• 3,012 views
0 votes
0 answers

NotFoundHttpException in RouteCollection.php line 161: in laravel 5

My CollectionController looks like this . <?php namespace App\Http\Controllers; use ...READ MORE

Jun 24, 2022 in PHP by narikkadan
• 86,360 points
• 2,304 views
0 votes
0 answers

Loading image using CSS animation VS loading using GIF image

I ran the following tests to see ...READ MORE

Jul 6, 2022 in CSS by Edureka
• 13,790 points
• 1,811 views
0 votes
1 answer

$ is not a function - jQuery error

The typeerror: $ is not a function ...READ MORE

Jun 6, 2022 in JQuery by Edureka
• 13,690 points
• 3,072 views
0 votes
0 answers

How to create a vertical line in HTML?

I need to create a vertical line ...READ MORE

Jul 4, 2022 in HTML by Tejashwini
• 5,380 points
• 1,773 views
0 votes
0 answers

PHP - exit or return which is better?

Case I: <?php if ( $fileSize > 100 ) { ...READ MORE

Jun 23, 2022 in PHP by narikkadan
• 86,360 points
• 2,325 views
0 votes
0 answers

PHP Composer update "cannot allocate memory" error (using Laravel 4)

I'm on Linode 1G RAM basic plan. ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 86,360 points
• 2,189 views
0 votes
0 answers

horizontal line and right way to code it in html, css

I need to draw a horizontal line ...READ MORE

Jul 22, 2022 in CSS by Edureka
• 13,790 points
• 1,102 views
0 votes
0 answers

How to achieve pages like a math notebook in css?

Hey i'm a beginner to CSS so ...READ MORE

Jul 8, 2022 in CSS by Edureka
• 13,790 points
• 1,706 views
0 votes
0 answers

jQuery UI: connect sortable lists through tabs

Here is an example at jQuery UI official site, ...READ MORE

Jul 20, 2022 in Web Development by gaurav
• 25,250 points
• 1,191 views
0 votes
0 answers

window.onload vs $(document).ready()

What are the differences between JavaScript's window.onload ...READ MORE

Jul 1, 2022 in Web Development by rajatha
• 7,680 points
• 1,431 views
0 votes
0 answers

Mongodb updateMany() not working in nodejs

I have a collection called imported_products with ...READ MORE

Jun 27, 2022 in Node-js by Vaani
• 7,070 points
• 2,179 views
0 votes
1 answer

jQuery/JavaScript to replace broken images

To replace broken images in JavaScript, the ...READ MORE

Jun 16, 2022 in JQuery by rajatha
• 7,680 points
• 2,633 views
0 votes
1 answer

How to use CSS media query to scale background-image to viewing window

If you only want the desktop version ...READ MORE

Jun 17, 2022 in CSS by Edureka
• 12,710 points
• 2,562 views
0 votes
0 answers

MySQL fetch assoc VS mysql fetch array

These are the commonly used methods to ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 86,360 points
• 2,124 views
0 votes
0 answers

PHP "php://input" vs $_POST

I want to know what is the ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
• 2,871 views
0 votes
0 answers

jQuery UI DatePicker - Change Date Format

I am using the UI DatePicker from ...READ MORE

Jun 23, 2022 in Web Development by gaurav
• 25,250 points
• 2,286 views
0 votes
1 answer

jQuery .html() vs .append()

html() will completely replace the content inside ...READ MORE

Jun 14, 2022 in JQuery by rajatha
• 7,680 points
• 2,670 views
0 votes
0 answers

What are the implications of using "!important" in CSS?

I've been working on a website for ...READ MORE

Jul 18, 2022 in CSS by Edureka
• 13,790 points
• 1,235 views
0 votes
1 answer

How to change CSS property using JavaScript

Use document.getElementsByClassName('className').style = your_style. var d = document.getElementsByClassName("left1"); d.className = ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,710 points
• 2,076 views
0 votes
0 answers

CSS: Combine Texture and Color

Does someone how to combine Texture use ...READ MORE

Jul 18, 2022 in CSS by Edureka
• 13,790 points
• 1,229 views
0 votes
1 answer

jQuery get value of select onChange

To get the value and text of ...READ MORE

Jun 23, 2022 in Web Development by rajatha
• 7,680 points
• 2,271 views
0 votes
0 answers

How to position text over an image with CSS

How can I use CSS to center ...READ MORE

Jul 11, 2022 in CSS by Edureka
• 13,790 points
• 1,535 views
0 votes
0 answers

window.onload vs $(document).ready()

What are the differences between JavaScript's window.onload&nb ...READ MORE

Jul 1, 2022 in Web Development by rajatha
• 7,680 points
• 1,387 views
0 votes
0 answers

Stretch background image css?

<td class="style1" align='left' height='35'> <div style='overflow: ...READ MORE

Jul 11, 2022 in CSS by Edureka
• 13,790 points
• 1,532 views
0 votes
0 answers

Object of class mysqli_result could not be converted to string

Code: $result = mysqli_query($con, "SELECT classtype FROM learn_users ...READ MORE

May 15, 2022 in PHP by Kichu
• 19,040 points
• 3,022 views
0 votes
0 answers

PHP - Notice: Undefined index

I wanted to do a registration form ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
• 2,926 views
0 votes
0 answers

PHP Simple Form Validation

I want a form validation like the following. Name: ...READ MORE

Jun 26, 2022 in PHP by narikkadan
• 86,360 points
• 2,123 views
0 votes
1 answer

jQuery $(this) selector function and limitations

this isn't a jQuery "thing", but a basic JavaScript ...READ MORE

Jun 23, 2022 in Web Development by rajatha
• 7,680 points
• 2,253 views
0 votes
0 answers

jQuery: Test if checkbox is NOT checked

I'm having trouble figuring this out. I ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 25,250 points
• 1,972 views
0 votes
0 answers

updating nodejs on ubuntu 16.04

When I used the node -v command ...READ MORE

Jun 27, 2022 in Node-js by Vaani
• 7,070 points
• 2,115 views
0 votes
0 answers

Do something if screen width is less than 960 px

How can I make jQuery do something ...READ MORE

Jul 1, 2022 in Web Development by gaurav
• 25,250 points
• 1,361 views
0 votes
0 answers

How to access function value in another function in PHP Classes

How can I return a variable value ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 86,360 points
• 2,208 views
0 votes
0 answers

How to embed Ruffle flash player emulator into HTML file?

I was implementing SWF (Small Web Format) ...READ MORE

May 27, 2022 in HTML by Tejashwini
• 5,380 points
• 3,437 views
0 votes
0 answers

Stretch and scale a CSS image in the background - with CSS only

I want my background image to enlarge ...READ MORE

Jul 29, 2022 in CSS by Edureka
• 13,790 points

edited Mar 4, 2025 • 716 views
0 votes
0 answers

React.js inline style best practices

I am aware that React classes allow ...READ MORE

Jul 11, 2022 in CSS by Edureka
• 13,790 points
• 1,495 views
0 votes
1 answer

Is this the Correct Way to Access Array Elements in jQuery?

Array elements are accessed by using an integer ...READ MORE

Jun 13, 2022 in JQuery by rajatha
• 7,680 points
• 2,660 views
0 votes
0 answers

PHP with MySQL 8.0+ error: The server requested authentication method unknown to the client

I'm running MySQL version 8 on PHP ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 86,360 points
• 2,430 views
0 votes
0 answers

Remove blue underline from link

Having a link appear in white without ...READ MORE

Jul 4, 2022 in CSS by Edureka
• 13,790 points
• 1,790 views
0 votes
0 answers

What is the difference between <article> and <section> in html5

When should I use the HTML5 "section" ...READ MORE

Jul 29, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 • 709 views
0 votes
0 answers

What Does 'zoom' do in CSS?

I saw that certain jQuery plugins utilize ...READ MORE

Jul 18, 2022 in CSS by Edureka
• 13,790 points
• 1,180 views
0 votes
0 answers

HTML colspan in CSS

I'm trying to construct a layout similar ...READ MORE

Jun 30, 2022 in CSS by Edureka
• 13,790 points
• 1,831 views
0 votes
0 answers

what innerHTML is doing in javascript?

Can someone explain what innerHTML in javascript ...READ MORE

Jul 29, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 • 703 views
0 votes
1 answer

Set line spacing

Try the line-height property. For example, 12px font-size and 4px ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,710 points
• 2,147 views
0 votes
1 answer

How to shorten repeating code with html function and return tags in jquery

Firstly note that replace() only accepts two arguments, the ...READ MORE

Jun 15, 2022 in JQuery by rajatha
• 7,680 points
• 2,555 views
0 votes
1 answer

Get checkbox value in jQuery

if you have set a class or id for it, you ...READ MORE

Jun 23, 2022 in Web Development by rajatha
• 7,680 points
• 2,211 views
0 votes
1 answer

Downloading jQuery UI CSS from Google's CDN

If you mean the jQuery UI CSS, ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,710 points
• 2,005 views
0 votes
0 answers

How to use HTML script tags to code while they have a source link?

I have seen that  <script src="..."></script> does not allow ...READ MORE

Jul 4, 2022 in HTML by Tejashwini
• 5,380 points
• 1,766 views