Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Free Basics has a policy that you need to disable Javascript code in your website now I have a desktop version website and I want to register it on Free Basics platform should I responsive the same website and disable or hide the Javascript using some Php scripts or css or I have to make a new responsive website with not even a single line of Javascript code?
help will be much appreciated thanks
I was intrigued and looked at their technical guidelines - did you read those?
https://developers.facebook.com/docs/internet-org/platform-technical-guidelines
You have to have a site that is specifically designed to work on a low-end devices which are not capable (among other things) to run javascript. While you may detect javascript capability, other requirements of this platform are not easily detected, such as the requirement for smaller image sizes etc. After all, the target users for this applications might be in the area where 20 y/o computer on 9kbps modem is considered to be a good machine.
So I'd say that to pass their technical evaluation you will have to create a separate site, that is targeting their needs.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am creating a website with React and I couldn't find an answer anywhere. Do I need to write special css codes to make my website more mobile friendly? I tried using "%" method but that did not seem to work. Or do I need to write seperate .js and .css files just for my sites mobile mode? What would be your advice to me?
By "mobile friendly" website, you must mean responsive website. I would suggest using Bootstrap framework for this modern need: https://react-bootstrap.github.io/
You definitely need to learn about the grid system.
You could use your own CSS, but a framework is likely to regroup a whole set of tools you may need in the future.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
Recently I started learning web development. I tried to read the HTML and CSS codes of some famous websites in my web browser. But I observed that they intentionally mess everything such as changing the real names of the bootstrap classes, while looking at the design architecture and page layout anyone could guess what kinds of technologies are used.
What would be the possible reasons?
I think it's not about security because any average programmer can still know everything about their front-end technologies if he puts some efforts.
There are multiple reasons.
Some companies, indeed, try to obfuscate some of all of the code to hinder some of the attacks. That is not 100% proof, of course, because a sophisticated actor can still reverse engineer almost any code that's out in the open.
However, most of the times it's simply how modern frontend development is done nowadays. The trend has been moving more and more towards using various build, bundle, code-minification and packaging tools. Like Webpack, for example.
What you see simply is a result of source code being processed packaged for optimal delivery and running in the browser.
The days when we could view web-page source and inspect pure HTML/JS/CSS, as it was written by the original developer, are long gone.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I've inherited a c# .net 3.5 project which I am task with converting to .net core. This is pretty much done.
However, in this project there are A LOT!!! of third party javascript libraries and I am certain there are many of them that are not being used or not needed.
Is there a way to scan the whole project to see if any of the libraries are not used?
I know this is unlikely but thought I'd ask.
Thank you
Using Chrome (but still valid with other browsers with little changes)
press F12 and click on "sources tab"
Then you can display all Resources used from your web page, images, css, scripts...
Or you can use a third party tool like this
https://marketplace.visualstudio.com/items?itemName=RobertHoffmann.FindUnusedFiles
but personally i prefrerr to do it manually not using an automatic tool.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a really really big question which is how to write a social networking website like facebook? I want to know which language should I use and why. And also the relationship of them or the whole structure of website. Only a general idea of blue print will be all right. However I don't mind if u can tell me things in detail. Thanks in advance.
Simply put: You can't realistically without a huge team of experts and lots of money. If you're a full-stack developer I'm sure you can pull off a website that has user profiles and a commenting system just with HTML, CSS, javascript, AJAX, and something like PHP/MySQL on the backend (lots of options here). Facebook is obviously a lot more complicated than that though, especially with all the asynchronous features going on such as the chat system.
Extended answer: https://www.forbes.com/sites/quora/2013/05/20/how-is-a-facebook-like-site-actually-created-from-scratch/#71ee985bdd2d
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to create an application for Windows 8 using HTML/CSS and JavaScript. It is a game and after playing, you have the opportunity to send your score. You also can view all the scores sent by other players.
Where should I store all the scores so they can be accessed from any device? How could I implement this using WinJS?
If you're using HTML/JavaScript directly, then I recommend you use Azure Mobile Services or Buddy.com. Azure Mobile Services is gaining a lot of traction and fits in very nicely with Windows apps for sure. It's a little bit lower level than Buddy.com, so it will give you more power. Buddy.com sort of packages and simplifies a lot of things for you and is a good fit for social games like it sounds like you're talking about.
You can checkout my codeshow project at http://codeshow.codeplex.com if you want to get some general "how to" on HTML/JS apps and you can feel free to contact me if I can help you get started.
Have fun!