Tagged Questions
CSS, short for Cascading Style Sheets, is a language used to control the presentation of HTML and XML documents including colors, layout and fonts.
-1
votes
0answers
9 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.
...
2
votes
1answer
18 views
CSS list-style with Font-Awesome toolkit
I will design a list with a Font-Awesome design arrows.
My code already works fine, but I will improve it.
...
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
0answers
20 views
Simple responsive page
I sincerely hope this is the right place to ask. Can someone tell me if my code is okay so far? I've read quite some resources online for responsive webdesign but it seems like everyone's opinion on ...
1
vote
0answers
18 views
Use Ruby variable in Style tag
In my view, I have a CSS class in ruby variable which I'm using in style tag like below:
...
-2
votes
0answers
10 views
0
votes
0answers
14 views
How to load this javascript without interval [closed]
I have create a round clock but its load more
how to solve this?
my code:
...
2
votes
2answers
82 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 ...
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 ...
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.
...
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 ...
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 ...
0
votes
2answers
35 views
Scaling and cropping an image adaptively based on the window dimensions [closed]
I've tried my best (I'm new to JS) to write a script that make an image fit to its parent div with respect of the ratio and overflowing when needed.
For example, if the ...
1
vote
3answers
70 views
JavaScript for toggling appearance
I have a dedicated stylesheet <style id="dynamicStyles"></style> for my page's dynamic styles. They are controlled by this JavaScript:
...
1
vote
1answer
62 views
Weather app using the openweathermap.com API
I have been working on a simplistic weather application that utilizes the openweathermap.com API. I have an ajax call to make an HTTP request to get a JSON object that contains the data which is ...
2
votes
1answer
65 views
100 chairs in a circle problem solving with Angular.js and visualization
Here is the problem statement:
Take a second to imagine that you are in a room with 100 chairs arranged in a circle. These chairs are numbered sequentially from One to One Hundred. At some point ...
0
votes
0answers
19 views
Sporadic div positioning using Isotrope
I am currently using jQuery + "isotrope" to make an image gallery where images can be filtered using "data-filters". But "Isotope" uses grids to organise the divs but I would like something like the ...
5
votes
1answer
58 views
Front End Web exercise, no HTML
I was given the following instructions
Using the below HTML, using ONLY CSS, JavaScript or jQuery create the following (see attached gif animation):
...
0
votes
2answers
49 views
Page for personal portfolio animations
I built my portfolio page using Bootstrap and jQuery, but on lower performance computers the animations seem choppy. I am interested in JavaScript optimization and was hoping you all had some ideas on ...
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 ...
0
votes
0answers
30 views
JavaScript application for calculating dates
The purpose of the application is to show dates. The inputs are weekdays and weeks. Or alternative days as an integer.
Example:
Present me the Friday in 5 weeks!
Or
Present me the date of the day ...
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 ...
5
votes
1answer
40 views
CSS & JS piechart
I made a pieChart function thanks to the main CSS properties rotate:xdeg, border-radius:100% ...
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 ...
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 ...
3
votes
1answer
67 views
JavaScript Script/CSS Loader Plugin
I wrote a basic JavaScript plugin that allows you to specify what specific JavaScript files and CSS files to be loaded in, and in addition specify attributes for each file.
To specify where to load ...
0
votes
0answers
19 views
Filtering potentially malicious user-defined CSS property values using ScssPhp
I have a script that allows stylesheet customization on a per-property basis. For example, I expose the "background-image" property for people to enter their own SCSS values to be entered in the ...
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 ...
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 ...
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
...
0
votes
0answers
31 views
Responsive CSS implementation in SASS
I just started looking in to SASS. Mixins looked like a nice feature, so I made some simple ones to handle my responsive CSS:
...
11
votes
1answer
134 views
“Star Catcher” game
For fun, I have been working on this game I called Star Catcher. It's a very basic game where stars are falling and you try to catch as many of them in your bucket before you miss 10. It's a real mess ...
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 ...
3
votes
1answer
116 views
Calculator in HTML, CSS, JS
I am new to Javascript and HTML. I have written code for a calculator, so review my code and points out pros and cons in it.
...
5
votes
1answer
74 views
Slider with jQuery using bullets
I have a slider with 3 images and left/right arrows. If you click on them, the image changes. You also have 3 bullets below the images and the image changes depending on what bullet you click.
I ...
3
votes
1answer
112 views
CSS Animation Card Flip
I've made a card flip with CSS keyframes but instead of flipping clockwise and then flip counterclockwise to it's original position, I've two separate keyframes that will cause it to rotate in the ...
0
votes
0answers
27 views
Dynamically change background image in the CSS during WordPress loop (media queries)
I currently have a carousel on my page inside a Wordpress loop. So as it loops through it changes the background image according to which post I am currently on in the loop. However, I want to use ...
1
vote
1answer
40 views
Angular Box Color Exercise
I have completed an exercise where there are 4 different color boxes and 1 main box below them that is blank, when you click on one of the colored boxes, the main box changes to the color of the box ...
2
votes
2answers
110 views
Popup function written in jQuery
I wrote a jQuery function to show a popup that can be draggable have multiple buttons etc.
Demo
How can I improve this code? I want to try keeping it light and simple but at the same time make it as ...
1
vote
3answers
68 views
1
vote
1answer
50 views
Coffee webpage with laggy animation
Currently designing a homepage and from some initial tests users are experiencing lag.
I'm using some Javascript to create a parallel effect as well as an animated "click to explore" loop. Not sure ...
3
votes
1answer
63 views
Personal portfolio template design
I recently finished the build a personal portfolio webpage project for
a free Code Camp, here, I would be very grateful if anyone would be willing to offer any advice on the design of the website or ...
3
votes
2answers
54 views
“Pill” with thumbnail and link
I'm currently trying to display a list of movies with this pill-like elements. The code below works but I guess there is a better way or a way to use elements from the twitter Bootstrap. It also ...
3
votes
1answer
53 views
Dropdown function
Is there a way to simplify this JavaScript function any further? Having to input 4 variables just for a drop-down menu seems a bit ridiculous, and it is hard to keep track of the variables when I want ...