I would suggest to begin by solving it by hand with a pen and a piece of paper, so that you have a clear knowledge of input and output data as well as required steps. As of now the code you showed does not pass the simplest logic checks: you are provided with triplets (3 values) but operate on array of four values; you have an inconditional return statement inside a loop, rendering this loop kind of useless (it will return at the first iteration); you create two data structures where you only need one; you do not add points to existing values but rather overwrite them.
So, do it by hand first; there is no chance for you to come up with a proper algorithm if you cannot solve it yourself with a pen and paper.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
This is very short coding can someone please do this linking for me ?
I tried copying all codes in separate notepads and saved them as Css . Js and then I opened up HTML coding and linked my case and jss files and saved it .html but when I opened up website there's only blue box with " Learning J's " and a next button
And there are not any questions
Can someone please help me ??
I am making a live subway map, where I have divs representing trains, moving up and down the map.
I had no problem making them move, but I would like them to stop for a few seconds at each station.
Can someone tell me how I can include this in my code?
What line do I need to add, and where?
images in are loading properly when I am running the application locally but even though images are appearing in the folder on Server but not being loaded in the Sources when I see them, in the same folder structure when ran locally they are being loaded - any help why would that happen? When even the folder contains the images - any help please - thank you.
You should know by now that we cannot guess what your code is doing. Please edit your question and show the proper details of the problem, including the code that is trying to load the images, and the actual path where they are stored.
Its an Ember Code and it will be converted into a big app.js file - before that all those files and everything would be converted - I am not sure how can I show you the code -Ember Code before conversion into js or after js conversion. I think Web-pack converts Ember files into js files - I am not very expert in it though. But anyways the Image files are showing up in the folder only thing is they aren't accessible in web page and they are not loading in the resource section when I checked using Chrome Developer tools, and similar scenario, when I use Chrome Dev Tools, Image files are loaded and showing-up in the resources section and it works locally though - any help please
As I already mentioned in the thread below I know nothing about Ember. And without some actual code that people will be able to read it will be impossible to even guess at a suggested course of action. The best I can offer is that you go to Ember.js - A framework for ambitious web developers[^] and try there.
Start by using the dev tools of your browser. Look at the network tab to see when the images are being loaded. Look at the url it is accessing and the response code. It might be they are missing, it might be security, might be looking in the wrong folder, might be looking on your local machine, could be the wrong http method, could be a case issues....it could be anything, we can't access your machine so can't tell you. You need to use the tools at your disposal to at least find out what the issue is, and once you know the underling problem you can work toward a solution.
I am working on a one-page solution where each section has an ID.
I have made this very simple responsive menu, which looks quite nice, but I have noticed one major flaw.
In mobile view, if I click on a list from the navbar slide-menu, the page will scroll down to that particular ID. The problem is that the user needs to click on the navbar to manually close it, meaning that if they click on one of the links, they won't actually know if they are taken to that section, because the menu is in the way.
What I want is for the menu to close after clicking the link, so that people can see the page scrolling down to the section they were looking for.
How can I accomplish this?
If possible I would like an ES6 solution without JQuery
I know nothing about Ember, or even what it is, but I googled that error message and found a few articles that explain the problem and the solution. Have you done that yet? Have you tried any of those solutions? If any didn't work then say which ones and why.
Last Visit: 1-Dec-20 6:16 Last Update: 1-Dec-20 6:17