-
Posts
8,682 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by thescientist
-
-
did you got the angular site? the home page alone gives a comprehensive overview of what it does and examples for how to use it.
If you need a full MVC framework, for a medium to large scale dynamic site, probably driven by AJAX / backend services, Angular is one option. There are other non MVC options that still emphasize component based development, but that's a matter of preference and philosophy.
- 1
-
are you talking in the context of using <canvas>? I'm not sure what you are asking for, or hoping to accomplish.
-
page.php
-
I'm not sure what your intended device target is, but once the screen gets below 1200px, the UI starts to collapse on itself. I would definitely recommend making the site more responsive. Overall I like the look and feel though.
-
The fact that neither w3c or WHATWG provide correct usage for nav/ul relationships is indicative of them not being considered for use together
You're entitled to your interpretation then, but I don't think most would see it that way. i personally have started using <ul> within <nav> and find it to be semantic for my needs and for others reading the same code.
To get the focus back on the OP, what are your expectations with this code? Are you looking for this to be responsive design, or just for desktop? Typically, the best way to at least ensure the code works as expected is to run it on the browsers / devices you want to support and make sure it passes the new HTML5 DTD validation checker. Aside from that, I don't see you using positioning, which is good. It is the number one bad habit I see new developers get into, so make sure you only use it when appropriate.
-
That is a job better suited to a static analyzer or code quality tool, of which there are a few if you are using build tools like Grunt or Gulp.
-
My guess is the videos are sized a certain way to preserve aspect ratio for different breakpoints.
-
This is a very exciting release indeed! Looking forward to trying out and excited at all the internal development / improvements that comes with it.
- 1
-
If you haven't looked into it, PHP7 is near stable release, and should be quite an overhaul of the underlying engine and a pretty good attempt at starting to remove the cruft. mysql is completly removed, for example. I think PHP is entering a "renaissance" if you will with this release, similar to how JavaScript is also in an upswing, supported by recent advances in EMCAScript 2015 (ES6) and Node.
- 1
-
where's your code?
-
Why not just share the file via something like Google Drive or Dropbox?
- 1
-
Are you checking for any errors yourself? What have you done to debug the code? It should be obvious from the second you try and execute that code if you have your browsers console open, as it will give you a line number and file name.
-
Is email an input element? Either way, you need to be using .value or .innerHTML when you call the test method.
-
Why not just try that?
Also, this is not valid syntax
person.anotherperson.moreperson{};
maybe you meant?
person.anotherperson.moreperson = {};
-
Encriptions
in PHP
It could also just be the case that you just keep those files out of the webroot
-
There are a number of CSS frameworks out there as well
-
Asp In Xampp
in PHP
ASP is intended to run under IIS. XAMPP is an Apache based webserver.
-
Php Framework
in PHP
PHP has a number of frameworks
http://www.sitepoint.com/best-php-framework-2015-sitepoint-survey-results/
-
Where is your AJAX code? Googling for this question turned up many stackoverflow posts. Did you try looking at some of those answers?
http://stackoverflow.com/questions/8961567/render-like-button-after-ajax-call
-
If you use tools like Grunt or Gulp, or Apache, you can run a local webserver which will allow you to open your site on those devices over the local intranet created by your router / wifi network. Essentially, nothing beats actually testing with the actual devices in hand.
-
It's hard to help you without seeing any code or what you tried and why a given approach isn't working.
Formatting date / time is extremely common and not that hard, and in particular what moment excels at. Did you review their docs? There's a section just on displaying.
- 1
-
There are also build tools like Grunt and Gulp that have plugins for linting JS / CSS / HTML files.
note: these are tools built on top of Node.js
-
What have you got so far? I would start with looking at the JavaScript date object
http://www.w3schools.com/jsref/jsref_obj_date.asp
There's also a really good date / time library called moment that is helpful when working with date / times
- 1
-
Are you checking for any errors in the browser console? What does the code look like and how are you implementing your function?
Cant invoke function from click
in JavaScript
Posted
we would need to see the actual code you are using now, though. also, you mention ng-route, so you are using Angular, yes?