HTML (Hyper Text Markup Language) is the standard content markup language of the web. It is an open standard developed and maintained by W3C (World Wide Web Consortium).

learn more… | top users | synonyms

1
vote
3answers
75 views

Get part of element ID

I am getting the number part of the container ID that the button is in. Now I am wondering if I need to create an array using split and then put this number in a ...
1
vote
0answers
25 views

JavaScript drag-and-drop sortable list

I made a simple list with drag and drop ordering function using JavaScript, HTML and CSS. Although I tried to do this as efficient as possible, I'm sure there are some improvements to be made. What ...
3
votes
0answers
53 views

FizzBuzz… with style (js, jquery, html, css) (and questions…)

I discovered the FizzBuzz test while looking up something else on stackoverflow, so I decided to try it and see what I would come up with. I'm kind of new to jquery and js, so I'm looking for a ...
-1
votes
0answers
13 views

Freakin .htaccess is killing me… images/css not loading sometimes just the code loads - using host gator file manager [closed]

So I have a been trying a lot of different htaccess codings to clean up my url but am not even able to simply remove .html without something going wrong Code Im using: RewriteCond ...
-4
votes
0answers
21 views

problems with bootstrap carousel [closed]

I have embedded bootstrap carousel for these six galleries below. Each of them work when I click on them - the carousel opens and everything that should be there is there. The problem is in the ...
3
votes
0answers
41 views

Fantasy league tracker for Game of Thrones

So I've just started learning about MySQL and PHP to create a fantasy league tracker for Game of Thrones for my office. I got it to technically work fine, but I think it's way clunkier than it has to ...
0
votes
2answers
29 views

How to optimize a section in HTML/CSS [closed]

How to set in HTML/CSS a section just like in this picture https://snag.gy/mStL9H.jpg ? I have tried something but am not sure if it's right. ...
0
votes
0answers
27 views

A wrapper around HTML file inputs

The <input type="file"> element is rendered differently by different browsers, and it's essentially impossible to directly style with CSS. A common way ...
5
votes
3answers
60 views

Hearthstone deck list

My code will display a Hearthstone deck list. I'm still learning HTML and I'd like help with a few things: • How readable is my code? How can I improve readability? • Have I used any bad practices? ...
4
votes
1answer
46 views

Selecting HTML nodes

I'm new to Clojure, and I'm writing some code that processes HTML. I'm parsing the HTML using clj-tagsoup and then trying to pull out the relevant bits with this function: ...
2
votes
1answer
47 views

Semantically structured HTML5 for a news page

I'm developing a website and I cut the images that I will use: ...
1
vote
0answers
47 views

Hearthstone mana curve Google chart

My code displays a Google chart that shows a mana curve. I'm not very experienced with Google charts, so I'd like help optimizing my code. I'd like my code to be more readable and to have fewer lines ...
3
votes
2answers
60 views

Simple function to generate an HTML-safe string

Sometimes, we have to do some fixing to insert a string into an HTML property. Or just to display it. But not everything is safe! Consider the following example: ...
0
votes
0answers
38 views

Template for a table to display suggested pledge amounts

I am building a template that will: need to be edited by people with minimal JS/CSS/HTML training need to be flexible enough to accept changing text and layout need number of rows/columns will ...
2
votes
1answer
70 views

Editing HTML based on instructions in a data structure

My getExtend() function, which will be included via require.js, has two inputs and one output: HTML file content config object which determine how to ...
1
vote
1answer
37 views

Custom form validation using jQuery

Recently I have been doing a bit of work with Contact Form 7 and Wordpress. I've begun looking at form validation using ...
4
votes
2answers
78 views

Parse HTML to modify it

I'm using the following code to parse html, This code is working but since I'm new to JavaScript and working in alone project I would appreciate if you can give me some tips and feedback how can I ...
4
votes
2answers
27 views

Window-size-dependent content toggler for an HTML form

I had to build a responsive component which allows the user to display specific content in a page. I called it the contentToggler. Here is my component in action ...
0
votes
2answers
48 views
2
votes
1answer
68 views

CSS3 Dropdown Menu (touch device or mouse compatible)

If you'd like the files: https://github.com/agraymd/Animated-Profile-Menu Working Demo: http://jsfiddle.net/tddfevhv/1/ This may be rather basic, but I wanted to experiment and learn with some of ...
3
votes
1answer
75 views

Sudoku solver in JavaScript

I decided to learn JavaScript and what better way than wrestling with a Sudoku solver. I'm guessing there are (many?) optimizations that I missed. I'm thinking of adding a generator also, but this for ...
0
votes
0answers
21 views

Running actions on button click

If the user clicks a button, I need to run the following actions: Show and hide div Add and remove attributes Add and remove CSS class We archive the same but I'm not sure this is the correct ...
3
votes
0answers
26 views

WAI-ARIA and Pagination

I would like to get some advice on WAI-ARIA markup I have added to my paginated post navigation. Does this look correct, am I missing anything? Should anything be added/removed to the current page ...
5
votes
3answers
81 views

Fancy checkbox for web pages

I just finished creating a fancy checkbox and am hoping for some tips to help improve my code, as I am still learning. ...
0
votes
0answers
37 views

User management library after hard reject on Codecanyon

I spent 2 months working on a user management library, with the intention of selling it on Codecanyon (I've never sold anything there before). On Codecanyon, there's a screening process for ...
1
vote
0answers
20 views

Make jquery pagination more efficient

I am trying to create pagination with pure PHP and jquery. I have done this and it works exactly how I want it to work. Essentially I get all products from my database using PHP. I then populate the ...
0
votes
1answer
36 views

Is my code correct?

I need to do a card for showing some data. I had some problems with the blue left box on the left side, and to add custom paddings. It think I can add padding with a more simple way, but I don't know ...
4
votes
2answers
53 views

Calculate the difference between current date and age from personal ID

The goal is to show message for users that are less 25 years old. The personal ID consists of 081010333333, where 08year, 10month, 10date. I made code and it's very messy. So the question is: how to ...
3
votes
2answers
58 views

Fruit score leaderboard

I made a basic website to practice HTML and CSS that will display 3 fruits with their given scores in an Olympic podium sort of way. Have I used any bad practices and what I should do instead? What ...
2
votes
0answers
43 views

Web based Simon clone

I wrote a Simon clone in JavaScript, HTML, and CSS. It's extremely simple, but turned out fairly well. I'm looking for general feedback, as well as these things specifically: I opted to try to do ...
2
votes
0answers
25 views

Simple native JS Calc

I've never been into web a lot, but I really want to. I started from simple things. I have some experience in .NET and c#. But the world of javascript is completely new for me. I wrote simple ...
2
votes
1answer
19 views

Liquid navigation tree generator

This include was written for a Jekyll site I'm building. It generates nested HTML unordered lists to a given depth dynamically by parsing page urls. It works fine, but the code feels messy and it ...
3
votes
2answers
49 views

Count calls and update table accordingly

This is literally the first time I've ever used JavaScript so I know it's really bad and how to improve it just not how to implement it. Basically, I need to loop through all the elements instead of ...
3
votes
3answers
80 views

Scrape HTML into separate files for each chapter

I have written a program to read HTML file, find particular text, write text from that particular text to next particular text in a newly opened file. I am interested in code review. I am very new ...
2
votes
3answers
91 views

Javascript Ownership Cost Calculator

Javascript newbie here. I built a total cost of ownership calculator to calculate the cost of a business over 5 years. It has a lot of repeating script and prob way more congested than it needs to be ...
6
votes
2answers
149 views

Beginner's Calculator code

I am trying to learn AngularJS as a start to my revival of learning, I think that I am getting the hang of it so far, but would like to see what I can do differently with some super simple ...
0
votes
0answers
18 views

Improving a hand rolled Select tag with OptGroups

I am working in asp.net. The asp:dropdownlist does not have an option for optgroups. I attempted to roll my own select using HtmlTextWriter but it feels flimsy at best. The following code works, ...
8
votes
1answer
87 views

JavaScript canvas sphere

I made a small demo in JavaScript using HTML5 canvas, which renders a rotating sphere. The sphere is generated by first creating a set amount of points (currently 50, represented by vectors) randomly, ...
6
votes
4answers
992 views

Python, JavaScript, PHP, HTML: Unbeatable Tic Tac Toe

At first, I created an unbeatable Tic-Tac-Toe in Python. However, I wanted a better interface, so I used a PHP backend that runs the script and a simple JavaScript that sends user commands to the ...
5
votes
2answers
49 views

Mini HTML document builder in Java - follow-up

(See the previous (and first) iteration.) Now, I have incorporated all the modifications proposed by janos, and, thus, I have the following: HtmlViewComponent.java ...
2
votes
1answer
42 views

Mini HTML document builder in Java

(See the next iteration.) I have this tiny library for building HTML pages in Java code: HtmlViewComponent.java ...
3
votes
1answer
56 views

Simple shop database site

I'm learning PHP, HTML and SQL - and wondered if anyone could take a look at this code and give me some feedback? ...
1
vote
2answers
45 views

HTML single page layout

This is a single page HTML/CSS layout. This is my first ever code and I know it's not perfect, but I would love for someone with a lot more experience to let me know of my mishaps. ...
8
votes
1answer
93 views

Chrome extension that marks Reddit entries with clickbait sources

So, I've created my first Chrome extension! What this does is it highlights every post on Reddit that comes from a source of dubious quality. It provides a few sources by default and allows the user ...
0
votes
2answers
55 views

PHP alternative syntax confusion

Newbie to PHP. Trying to output the results of an array inside a foreach loop. I have got the following code but I cannot understand what to do with it next. Mainly; Where/how do I start and end ...
3
votes
2answers
147 views

Driving equation output from select input boxes via JavaScript and HTML

I would like to create a simple interface to allow a user to make a few choices via select boxes and drive a resulting equation. Here's a screenshot: This is a gross simplification and I am ...
2
votes
1answer
43 views

php/html template for checkout

Basically I am in argument with my colleague, I say this template (view) has to be fully refactored and all instances of duplicate code has to be removed. He disagrees and don't want me to touch it. ...
3
votes
2answers
89 views

Typing game in JavaScript

I recently made a typing game in JavaScript and I would like it to be reviewed so I can become better knowing where I made mistakes and what I should improve on. CodePen ...
0
votes
0answers
28 views

GAE Sample Site: a sample website hosted on Google App Engine

I just wrote a tutorial on MDN regarding how to host your website on Google App Engine, and included a sample website as a starting point/template for beginners so they can download and develop it as ...
0
votes
1answer
61 views

Angular front end of chat web app

I'm using the MEAN stack to make a small chat app, which will soon support braided messaging. This is my first Angular app so I am not sure how I'm doing on the front end portion in terms of keeping ...