Tagged Questions
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).
0
votes
0answers
8 views
Bootstrap site container width overflowing on mobile [on hold]
I'm not sure what's going on with my site...I've got it working perfectly on 'desktop', but can't for the life of me figure out what's going on with the width on mobile and how to fix it. The site is ...
-1
votes
0answers
18 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
83 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
40 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 ...
2
votes
2answers
81 views
+50
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
30 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. ...
1
vote
2answers
73 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
22 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 ...
-1
votes
0answers
12 views
Background Image in Div with Colour Caption that follows ALPHA [closed]
As you can see by this fiddle, https://jsfiddle.net/postcolonialboy/ou5h0wnw/4/ everything is working great, except i would like the blue that is behind the text that is reveal on hover, to cover the ...
0
votes
1answer
45 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
398 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
34 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
42 views
Accordion navigation
For an intranet site with large description-texts I made these website with an accordion navigation.
...
0
votes
0answers
23 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
71 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
63 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
25 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
38 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
54 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
62 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 ...
0
votes
1answer
31 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
98 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
75 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
122 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
1answer
108 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 can do to improve my code without ...
3
votes
1answer
50 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
80 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
88 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
72 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
74 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
49 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
98 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 ...
3
votes
4answers
220 views
Color swatch selector with multiple mouseover and mouseout functions
I am working on a simple mouseout and mouseover functions. Basically, I have color boxes (or swatches) and I have to get the color of the specific box when hovered and when selected. You can see how ...
1
vote
1answer
51 views
Update / save / display values in a table
I am relatively new to Angular and need to put together an application to update / save / display values. The code is working, but I wanted your input the make sure that I am doing this 'the angular ...
2
votes
2answers
243 views
jQuery fade in and out with multiple objects
This set of code is very large, and I'm hoping if someone could show me a more efficient way of doing this. In particular, the JavaScript code, but HTML and CSS corrections are just as welcome.
...
6
votes
1answer
50 views
JavaScript adaptation of 70s electronic game “Simon Says”
I programmed a web adaption of the game Simon for to improving my JavaScript skills. A live version of the results are here.
I got two more ideas which I like to incorporate. Moreover, I'd like to ...
1
vote
0answers
141 views
Progress bar with percentage counter
Basing my work on a JavaScript progress bar created by another person, I added an animated percentage count. This solution is really ugly but it works.
I don't know how to avoid having to declare ...
3
votes
0answers
81 views
Todo list with calendar
The app is a todo list with a three-day calendar. Users can add and remove lists and it's all stored in local storage. My aim was to use vanilla JS but I did use jQuery for the date picker.
I'm just ...
2
votes
0answers
61 views
Simple minesweeper game in JavaScript
I created a simple minesweeper game as I am trying to get my hands dirty in JavaScript. I have tried to use the oops while doing this.
I am posting 3 files:
index.html
minesweeper.js
...
4
votes
2answers
349 views
Scanning a directory and listing contents in an HTML file
My program simply accepts the name of a directory from the user, scans said directory and generates an HTML file that lists the contents.
Is there any way that this can be improved?
...
2
votes
4answers
82 views
Recreating Google homepage for learning purposes
Like other posters, I'm currently working on recreating Google's Homepage for The Odin Project.
I'm new to HTML and CSS but I'm eager to learn and have been looking around for an answer, testing ...