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

0
votes
0answers
4 views

Massive Number Of Scripts With Angular

I've recently started switching from JQuery to Angular and it's awesome at making my HTML expressive and easy to read but every reusable module I make has its own script which leads to a massive ...
2
votes
2answers
32 views

(Part 2) Securing PHP shopping cart (Paytrail integration)

i've developed my shopping cart further. This is related to my earlier post: Securing PHP shopping cart In addition to those functionalities, i've proceeded to make integration to Paytrail payment ...
7
votes
3answers
64 views

Single Digit Math Quiz

I decided to write a very simple web-game: ...
11
votes
2answers
53 views

Prorated refund calculator

I wrote this little piece of script for my workplace (insurance, etc.) to help our admins, as a light and simple file I can just email to my colleagues. The purpose of it is to calculate a prorated ...
3
votes
0answers
40 views

jQuery boilerplate library

I'm working on my library. It's just a boilerplate, wrapping some script code, with helper functions, some plugin implementation, required meta tags etc. How can I develop this better? ...
-2
votes
0answers
10 views

Should slider be inside “main” element in HTML? [on hold]

I am creating a basic HTML layout for my website which contains slider in every page. I am using main element as the wrapper of main content of website. But, w3 specifies main element should include ...
2
votes
0answers
21 views

Using Nokogiri to scrape Oscars winners from Wikipedia

I am scraping a Wikipedia page, getting info from that page and instantiating a new object with the information collected: ...
2
votes
1answer
43 views

Setting header color on scroll for each post

On this site this site, I have some code which you can see below which figures out the offset for each post from the top of the document and assigns a colour from each post to the header when it ...
1
vote
1answer
41 views

Image slider demo

Since I'm new to web development, I've decided to create this carousel, to practice a bit of JavaScript, more specifically jQuery. I'm really happy with the result, but I'm sure that to an expert my ...
7
votes
3answers
87 views

On hover, hide text and display options

Recently I learned HTML+CSS and a bit of jQuery and am building various web-things to stretch my skills and learn more about how to do things the right way. I was a bit surprised at just how many ...
3
votes
1answer
44 views

Simple AJAX script calling a number

I wanted to create a basic interaction which does 1 outcome but with 2 possible actions: get a number from an other document, by either clicking on a button or waiting a fixed amount of time. I wrote ...
-4
votes
0answers
14 views
5
votes
1answer
48 views

Simple syntax highlighter - part 2

I've completely revamped my old syntax highlighter, and made it more flexible and easy to use. It works the same way as the previous one, wrapping <span> ...
1
vote
1answer
44 views

JavaScript dropdown component

How can I improve this component with using event delegation rather than doing a lookup using parentNode so that I can change the markup around without having to ...
0
votes
1answer
47 views

Auto generate text input and checkboxes when value of text input changes

In these fiddles I am generating the number of textboxes and checkboxes depending on the input of user. This first fiddle deals with the first problem generate number of textboxes onchange of the ...
9
votes
1answer
184 views

Rendering an HTML form based on a specification in a string

Here's a brief explanation of my method: Provide a string and parse it to HTML code respecting a specific format the accepted format is : For dropdown menu : Test DropDown~Select:Options1; ...
-1
votes
1answer
27 views

Listing blog post excerpts

I have created many sites that requires php and html. They all work fine, but I'm now thinking if all that time I do it in a wrong way. Usually, first I build the site template, then styling and last ...
7
votes
1answer
129 views

Simple grid using SVG

I developed this grid which displays number of records for X & Y, user can click each number to see a list. (I didn't add list markup to fiddle yet - so lets not worried about it for now.) What I ...
3
votes
1answer
52 views

jQuery Accordion

I have some JS that I am not OK with. How can I reduce the amount of code? ...
7
votes
1answer
215 views

Simple syntax highlighter

I've made a simple in-browser syntax highlighter using JQuery. It's pretty simple, it just wraps keywords, integers, and such in <span> elements with color ...
4
votes
2answers
52 views

Dynamically Generating a Map Webpage for MMO

This question is related to my previous question about an MMO Server. Here, what I am doing with this program is connecting to another Java server program that resides on the same server as the MMO ...
2
votes
2answers
80 views

Dynamic PHP Form Submit Script

Below is a PHP script which dynamically finds and process all of the form elements such as inputs, textareas, dropdowns etc... then organize them into a table as shown in the image below when sending ...
3
votes
0answers
62 views

Personal Website

I have written the following code for my personal website, in Jade and Stylus. Can anyone review this code? Are there any tips that you can give me on how to make it better? Here is the main-page.jade ...
1
vote
1answer
41 views

Udacity Intro to HTML and CSS layout sample

I'm going through the Udacity Intro to HTML and CSS course at the moment, and one of the exercises is to convert this mockup to HTML and CSS. I did the following, and it looks ok-ish: HTML: ...
3
votes
3answers
77 views

Switch questions using JavaScript and CSS

I am writing a Q&A wap page and want to switch questions in one page. This is my first time to write JS and CSS code, so I think there must be some improvement. ...
2
votes
2answers
42 views

Toggling classes on many elements when a button is tapped

I have this very easy functionality to find, toggle and remove classes from my html elements. The thing is that I find my self repeating the same code with just different name classes. I basically ...
2
votes
1answer
51 views

Site creation file with PHP

Here is something I've been working on today.. I been trying to determine how to build a website, that has a form, and that form allows a user to make a simple URL to give out. In the future it will ...
0
votes
1answer
37 views

Refactor sign up/in partials

I currently have two partials that I use for signing up and signing in. The code is essentially the same in both except for different images to represent sign up/in via Facebook/Twitter. ...
3
votes
1answer
59 views

JavaScript Dropdown Selector

I am just getting into front-end web development and to practice, I made a dropdown selector that allows for more styling than the regular <select> element. ...
3
votes
2answers
69 views

Sliding effect with bounce

I have used animate.css and jQuery as external libs. Is there a better way of doing what I have done with jQuery? DEMO ...
3
votes
2answers
67 views
1
vote
1answer
76 views

Check existence of HTML tags in a row

Using Python's Beautiful Soup, I analyze a number of html files (internally: soup). They are all a little different and my target comes in four different tags - or ...
1
vote
2answers
73 views

jQuery pullout functions

I am using a simple page with 2 pullout functions, one on the left and one on the right side. I would like to simplify or combine the two functions into one and make one pullout close, when I click on ...
3
votes
1answer
81 views

Bootstrap 3 custom header

I need a second set of eyes to look at my twitter bootstrap 3 header. I would welcome some insight on the code structure and methodology as it relates to bootstrap best practices and efficiency. ...
1
vote
2answers
61 views

Consolidating my HTML, CSS and JS code in order to adhere to best practices

As I'm getting to grips with front end development I'm looking to consolidate/improve my below HTML, CSS and JS code in terms of adhering to best practices so any advice is appreciated. Quick ...
1
vote
0answers
50 views

Calculate when games ending in 0 start

I'm having trouble at getting this right, I'm new to javascript and I don't have many knowledge of HTML and Javascript interactions. The original and always updated code is here: Empire Attack ...
4
votes
2answers
50 views

Nav slider needs to be smoothed out

I created this responsive jQuery navigation which will re-size when the pixels get < 500 px and display the mobile navigation, although when the browser re-sizes > 500px it runs the widthCheck() ...
-1
votes
1answer
22 views

What is the recommended way of structuring CSS? [closed]

I have the following CSS: .class { margin: 1%; margin-left: 0; } I wonder whether another way would be better? Option a) ...
2
votes
1answer
29 views

Navigation scroll bar

So I'm trying to code a navigation scroll bar like that looks like this: This is the code: ...
0
votes
0answers
95 views

Drop down with AngularJS UI

I want to know if there's a better way of doing a select on dropdown and selecting the items. I bound ng-click to every anchor and assign a value on click, but it just doesn't feel like a clean way to ...
0
votes
0answers
22 views

Proper JS MVC / Extending

I am looking for some critique / comments / help regarding what I have written so far. Is this proper JS (jQuery)? This is my first crack at a MVC and Extending style setup. There are some standard ...
1
vote
0answers
34 views

Passing values to a partial view

I have button which I would like to use for update and create actions. Currently a create action is based on the URL parameter equalling 0 . If for instance, in a ...
1
vote
3answers
63 views

Formatting in webpage quiz

Particularly on the CSS page, in the #question_list id, you'll see I've put a transparent border. This is obviously pointless, but without that border, my footer ...
8
votes
3answers
675 views

Fourteen buttons with hover effects

I have just started learning coding and am trying to clean up a website that I am making. Everything is functional, but I imagine there is a better way write everything that is there, because a good ...
10
votes
7answers
439 views

Music Theory Website

I was just curious to know what you think about this website I'm designing. I would just like any constructive feedback that you might have. http://jackatron.web44.net/music/ ...
3
votes
1answer
39 views

HTML & CSS accordion

I'm looking for suggestions to improve my accordion code. Someone could also use it as a starter for their code. Here's the demo. ...
3
votes
0answers
49 views

Responsive bullets with horizontal and vertical centered HTML content

In my current project I develop a responsive site which has only on desktop a fixed width. Otherwise it's fluid. My client or rather my art director ;) want's fluid bullets with horizontal and ...
4
votes
1answer
40 views

Custom tooltip containing a list

I'm looking to improve my code as seen in the demo link below. The code displays a list in a tooltip. The tooltip is accessed by hovering over the last element of the main list. Here's the demo. The ...
2
votes
0answers
58 views

Game of life in JavaScript - using Table

I finished coding Conway's Game of Life in JavaScript and HTML table. logic cells in a table will be assigned with unique id's and based on the ...