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

2
votes
0answers
13 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
42 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
61 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
79 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
81 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
13 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, ...
7
votes
1answer
60 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
885 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
48 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
41 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
43 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
votes
0answers
24 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
86 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
48 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
131 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
35 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. ...
2
votes
2answers
81 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
25 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
56 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 ...
10
votes
1answer
401 views

Hangman learning AI

I have been learning AngularJS and have written my first app. It's a Hangman AI which learns words and guesses the solution based on the words it knows. Please look over my code and provide some ...
3
votes
3answers
35 views

Set same color as prev row if data matches otherwise different color

I have a requirement in which I need to set color of two or more rows of a table same if they have same value in cell one and I have to maintain this alternatively i.e. no 3 or 4 rows should have the ...
0
votes
1answer
43 views

Accordion navigation

For an intranet site with large description-texts I made these website with an accordion navigation. ...
0
votes
0answers
25 views

Draggable and resizable buttons

I made draggable and resizable buttons using Vue.js (a simplified version of Angular.js) and Interact.js (a library like d3 but focused on DOM interaction). This is the HTML. The grid and plane div ...
3
votes
1answer
72 views

Fading content for each TD

I have an HTML table and I use jQuery to fade some content for each TD: Demo My code works great, but I want to know if my solution can be better. ...
4
votes
1answer
61 views

Last dot Standing Puzzle Game

The game is a puzzle game made up of a grid of cells represented by html divs. Gameplay is as follows: On starting a new game, the number of rows and columns is selected from a form. The grid is ...
3
votes
1answer
56 views

Possibility of SQL Injection

I am requesting a review of a portion of a 600 lines of code. This portion of the code process a filter that is farther down the page. It takes in the parameters and formats them into a query. Now I ...
19
votes
3answers
1k views

WebTorrent player

I have been working with HTML5 and CSS3 for a long time now, but have avoided JavaScript because of my belief that it's most frequently used unnecessarily while having a tendency to be poorly written. ...
2
votes
1answer
67 views

HTML Table with Selectable cells

I'm working on a scheduling table that user' can select cells (which will be gathered with jQuery using data attributes) but I'm trying to work out the best way for user' to be able to select rows and ...
3
votes
1answer
28 views

Minimalist HyperScript implementation

I've tried to roll out my own HyperScript implementation. I would be interested in any suggestions to improve it or point me to any other better implementation which is still maintained. I checked the ...
4
votes
1answer
46 views

Using basic HTML to render and check

I am a newbie and I am using basic HTML to render and check. No JSON at the moment. With that said, I’m having a hard time conceptualizing organization of a group of matching series (e.g. a series ...
2
votes
1answer
25 views

XHTML input for PHPmailer

I have used PHPmailer to send email to users upon registering to the site. Now, everything works as should, however, I find myself doing painstaking work adding the HTML elements in. Here's an ...
1
vote
1answer
39 views

Form submit and data display

This is my first PHP project - just to write to something to learn from. I made a page with form to send some quote to server and display some quotes from db. I'm just starting with PHP so point out ...
3
votes
1answer
56 views

Success page + data entry for a store page

The purpose of this code is to log the inputs of a form (which is a menu for a shop) to the database to be kept as records as well as printed out as a receipt at the store. I have been learning how ...
1
vote
1answer
69 views

Home page (index.php) of a website for finding products

My code is basically the home page (index.php) of a website for finding products. It accesses a database table to get a list of all countries and then populates a ...
1
vote
1answer
38 views

Displaying available destinations using Angular.JS

I wonder to know if there is any bad smell on my practice for i18n on Angular. I put the I18n translating function on Angular controller (because I don't know how to put it on HTML template file) And ...
1
vote
1answer
107 views

Simple JavaScript Calculator

I built a simple calculator that supports addition, subtraction, multiplication, and division. It can also chain operations. I'm looking for feedback on my code for places that could be done better in ...
5
votes
2answers
79 views

Create generic HTML calendar

I maintain our organizations intranet page as an additional duty. One thing that every department in the organization likes to use is calendars -- upcoming events, training, etc. At first I was only ...
3
votes
1answer
145 views

Check of a traffic light sequence

I have create a functioning automated traffic light sequence using an array and if statements. It all work correctly but I am wondering if there is anything more I ...
0
votes
2answers
201 views

Check of a traffic light sequence using an array and if statements

I have create a functioning automated traffic light sequence using an array and if statements. It all work correctly but I am wondering if there is anything more I ...
3
votes
1answer
51 views

Python webpage parser

I have a working code, but it has a lot of flaws. The main project is to get a value from a website. I need to complete this action million of times, so i download the webpage returned from the class ...
1
vote
2answers
89 views

Tic-Tac-Toe game in JavaScript/HTML/CSS

I need help with a question my teacher wants us to do by tomorrow. I would love for you to try to help me out with this. The following functions must be implemented: A function that initializes all ...
0
votes
0answers
105 views

Image gallery with pagination using CSS, $_GET, and Bootstrap

I am relatively new to web development and I created an image gallery with pagination using the Twitter Bootstrap framework. Basically, I want to know if I approached creating an image gallery ...
4
votes
3answers
43 views

csview: A tiny utility to view csv files

Seeing a csv in table form is nicer then viewing it as row text, for example the csv from Calculate food company sales for the year (with headers added by me) looks much nicer in this table form than ...
3
votes
2answers
73 views

Submitting an HTML form, adding submission to database and emailing the client and registrant

I have been asked to make a registration form that will add a users details to a database, create a registration code, then email the registrant and client the details including the registration code. ...
1
vote
2answers
94 views

Fetching data from nested JSON using jQuery and displaying in table

I'm displaying JSON data in a tabular format on a html page using jQuery. In the function I'm looping the resp.DATA once to get the key names so it can be ...
1
vote
0answers
28 views

Large table updates using AJAX in Internet Explorer 11 (Cont'd)

Previous topic: Large table updates using AJAX in Internet Explorer 11 For the functions included here, I have taken the advice of the previous answer and incorporated it in the restructure, but am ...
1
vote
1answer
33 views

Making a conditionally visible page-up button

I wanted to make a button that goes to the top of the page but only appears when you're not at the top. There are probably libraries that already do this, but I wanted to make it myself and after some ...
2
votes
0answers
44 views

Knowledge base app using MEAN stack

I've been working on an app based on the MEAN Framework. I have got the app working but I just wasnt sure whether my coding structure and standard was good enough, meaning does it adhere to the ...
2
votes
1answer
56 views

Updating HTML table (Userlist) with Node.js

I currently have an HTML <Table> with all the socket.io-rooms. Client-side, the table gets fetched if you visit the page. If some room gets created or ...
1
vote
1answer
104 views

Keep div fixed when it is inside it's container on scroll

The required behaviour is : The yellow span must be positioned relatively to viewport (position:fixed;) when it is inside the pink div. The height of yellow span ...