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).
-1
votes
0answers
11 views
How to add an element with same list id [on hold]
How do I dynamically add text inputs to a table while assigning the same list id?
My code is currently:
...
0
votes
1answer
22 views
Change the color of link when being clicked [on hold]
I have below code, I know it´s simple but when I am clicking the link then it´s not changing the color to green. Is there any small mistake? or need some modification
...
-4
votes
1answer
40 views
Image Detection code issue [on hold]
Hoping someone can help me solve this issue. The images are taken from my db which are links that show an image , if for some reason the image link does not work i would like to use a stock image.
...
0
votes
2answers
43 views
Keep main content scrollable but not the body
For a template such as:
I'm using the following approach
Get the height of the viewport via javascript (Let's say 500px)
Deduct the header and footer height from it (Let's say header and footer are ...
-4
votes
0answers
18 views
Mircodata for Client Testimonials [closed]
I have already validated the codes on Google "structured data testing-tool" and there are no errors. Am using this on my testimonial page i.e. I will display reviews obtained from my customers to whom ...
1
vote
1answer
16 views
Nesting elements in a shallow hierarchy
I wrote some code to generate list items for a menu in Clojurescript. The intention is that the code takes parsed Markdown (Hiccup) that has been filtered down to h2...
3
votes
0answers
32 views
Inline Purchase Details
I'm not good at all with CSS, but I try! The following code works (demo here), but I'm sure that can be improved.
HTML:
...
2
votes
1answer
39 views
Filtering script for products by category
I built a simple product filtering feature that works at least in the browsers and platforms that I have tried using it on, but I am unsure about a couple of aspects of it. I built this on a ...
1
vote
0answers
27 views
A vanilla JavaScript library for typesetting algorithms in HTML documents using XML and LaTeX - follow-up
This post is basically a follow-up to my related question. I added some new keywords, made the code less DRY. Also, the library inserts the required CSS to the HTML document, so that there is no need ...
3
votes
2answers
86 views
Submitting a form
I am using ASP.NET core entity framework. I am using an input submit button to call a method that has a variable attached to it. I am wondering if there is a way to improve my code.
Here is my ...
1
vote
2answers
44 views
Provide and process registrations
I am relatively new at using PHP, and I am looking for experienced PHP/HTML users to have a look at my script and offer up any advice on what could have been done better or info on any discovered ...
4
votes
0answers
26 views
A humble converter between “calendars”
For a special writing and/or worldbuilding project I have, I created a special program.
In the story, different factions have different ideas on what should be considered the first year of their ...
3
votes
2answers
96 views
User can add and delete customers
I am using asp.net core entitiy framework. The page displays the customers. The user can add new customers or delete existing ones. I am looking for ways to improve my code.
Here is my cshtml page
...
0
votes
3answers
41 views
Vanilla JS mouse events on dynamically created elements
In terms of performance, what is the best way to bind mouseover/mouseout event on dynamically created elements?
This is what I have but I'm not sure it is ok for performance:
...
1
vote
0answers
30 views
Use of data-custom-value to recover data
Necessary explanations
The code below deal with the relationship between my question and test_case model.
A question ha many ...
4
votes
1answer
53 views
George Washington Carver tribute page
Yeah, it's another person wandering through from freeCodeCamp. Sorry.
That aside, I've got a tribute page to George Washington Carver, developed as a project for the above. I'm generally happy with ...
3
votes
0answers
105 views
Login Page with VueJS
I started with Vue.JS a few days ago. I created a login page, keeping some functionalities at the same page, but I don't know If is cool or "best pratices".
Take a look...
...
5
votes
1answer
53 views
Dynamic attribute key selector
I'm basically trying to build a function that searches all nodes on the DOM to check for data attributes, then swap them out with whatever is stored with the "data-intl-" attribute. For example, if ...
1
vote
0answers
29 views
jQuery UI Accessible Dialog
I coded a jQuery UI dialog box and want to make sure I'm using the aria accessible attributes properly.
...
-1
votes
4answers
156 views
How to make this code more compact? [closed]
Is there any way I can this code shorter? It can in any way, in my javascript code or in my HTML code. I just want it to be as short and simple as possible.
Javascript
...
1
vote
1answer
56 views
Create bootstrap toolbar
I have created a bootstrap toolbar(navbar) which is working.
my question is, since this is my first time on this topic if there is a place for improvement ?
we are using some mock to enter some dummy ...
1
vote
1answer
45 views
Check if user selects correct Spanish word article
All Spanish nouns have a gender (masculine [el] or feminine [la]; e.g. la casa, el perro). I'm using some javascript and jquery to display a random word from a list of nouns (2D array), as well as ...
-3
votes
1answer
61 views
Directory listing in a web server
I have Ubuntu 16.04 with standard apache web server installed. Nothing special about it. No open ports but 80.
Instead of the default index page I put this one:
...
0
votes
2answers
156 views
Vue GitHub user lookup
I have made a small Vue app which fulfills the following user stories:
Given I make a search for an existing GitHub user, then:
The user's username is shown
The user's avatar is shown
The user's ...
1
vote
1answer
29 views
Bootstrap responsive layout
I'm creating a responsive page with bootstrap. I tested my code with my browser (Firefox and Chrome) and it works. Is the code clean or is there a better way to code it?
...
1
vote
0answers
31 views
Modals that are centered vertically and horizontally within 80% of the browser size
I'm very new to website development. I would like to know if there is a much better, preferably with less codes, to write this modal.
Here is the full website assets if you need to look at how the ...
4
votes
1answer
151 views
HTML scraping and using jQuery
I wrote a Chrome extension that lists upcoming concerts for the next seven days, this month, and next month. I had trouble with the nextSeven() method, especially ...
1
vote
1answer
53 views
Compares times between players in CS:GO
The program is meant to compare values between the two datas given and see who has beaten the map faster and by how much. Formatting is set to MM:SS:SU. It looks REALLY sloppy right now and I'm sure ...
2
votes
1answer
26 views
JS micro-view library
I created a JS view micro-library not too long ago it's named contours. Its primary purpose is element creation. It has some similarities to ReactJS. It lacks many features that React has like server ...
-3
votes
1answer
44 views
JavaScript table not showing [closed]
I'm practicing this question where I'm supposed to make a table programatically and although I'm not getting any errors the table is not showing.
...
3
votes
1answer
32 views
Nagios service alert HTML email builder
I have a well functioning Nagios Core system set up. I wanted to make our alerts both easier to read pertinent information quickly as well as provide additional details from custom host and service ...
1
vote
0answers
22 views
What does this function appear to do? [closed]
I am reviewing some very old code in our application, which was written by my predecessor's predecessor, in order to debug an issue where an iframe is improperly resizing (the control buttons on top ...
2
votes
2answers
44 views
SQL LIKE search in Angular filter objects
I made this AngularJS 1.x filter, to search using a the same SQL LIKE syntax. Right now only the percentage symbol (%) is ...
6
votes
2answers
236 views
Simple Business Card Website
I have been learning to code for nearly a month now. Any tips on how I can improve with indenting to help future readers?
Snippet
...
12
votes
3answers
1k views
Find my colleagues
I recently finished the Using Databases with Python course. To figure out whether I really understood what was being taught, I build an application which does roughly the same but uses a different ...
2
votes
1answer
44 views
Fitting multiple images in a given width
I was looking for a function which would take the overall width, max height, min height parameters as the input and fit multiple images in the given overall width adjusting their width.
For an ...
0
votes
0answers
28 views
Implementation of dynamical forms for JSON ActiveRecord using JavaScript
I have some data in my database I store as JSON (PostgreSQL supports it). The data can be pretty flexible, something like work-experience, with names of previous companies and positions or education ...
3
votes
1answer
72 views
Disable button when required inputs are not filled in
Currently I'm having a big form, with steps and a lot of complex fields. To make sure the user fills the required inputs and don't make them crazy pushing down the button submit when one required ...
5
votes
1answer
56 views
jQuery Double Timepicker
I have one year of JavaScript/jQuery experience but I feel a bit messy in my code. The point is that I make some code that works but I feel that it can be improved like hell. I look for that, but even ...
4
votes
1answer
27 views
Positioning a container next to its menu
I'm a beginner in CSS and need help with a suggestion.
I'm working on a project, in which I managed to position container_main right next to ...
3
votes
1answer
93 views
The ListenHear Game - Listen and type the word
What it does:
Speak a random word chosen from an array and ask the user to type the word in the box for 15 seconds
If right, +1pts, reset the timer and go to next word.
If wrong: do nothing.
After ...
1
vote
1answer
92 views
Check if a string has HTML in C#
I need a function to determine whether or not a string has HTML in it or not so that I can know whether I'm dealing with a plain-text format or HTML format.
It seems simple enough in C#, using ...
3
votes
2answers
65 views
Information about a nightclub in semantic HTML
Could anybody have a look at my HTML code and tell if it's build upon the correct semantic way using the right tags, and not using unnecessary divs?
I'm still not sure if there any divs in my code ...
4
votes
3answers
73 views
Showing animated company KPI stats
I am creating a web page in which I have 4 different numbers which show companies stats. I am using javascript to dynamically show these numbers from 0 to n (where 0 is the starting point of counter ...
2
votes
4answers
85 views
User Profile page - code quality , security & Performance feedback
once user login, we are displaying all the information of user in profile/account page. please check code quality , security & Performance.
...
3
votes
0answers
70 views
Vanilla JavaScript ToDo List implementation
Just started learning JavaScript and I have created a basic TODO list following MVC concepts to apply what I have learnt so far. This is probably overkill for a simple todo app, but the objective is ...
0
votes
0answers
19 views
Media Queries Exercise
I am learning responsive design and media queries and am trying to simulate the problem as mentioned here.
I am solving a problem where it has to be responsive on devices with 320*470 (android phone) ...
2
votes
1answer
87 views
Rock Paper Scissors JavaScript game
I'm sure this game gets put up here all the time but I'd appreciate it if you could have a look over my code and give me some suggestions on how to improve it.
Here is a live example so you can play ...
1
vote
1answer
21 views
Opening links in a new tab or window
I've got a lot of links (150+) in an href (here I can only post 2) and I want them to be opened in a new tab or window. I've got this piece of code that works, but ...
2
votes
0answers
43 views
format any mail into readable text
Scope is to throw any mail, html or plain or multipart into this and receive a readable formatted text that deals with special characters and html issues. Field of usage: System that imports mails ...