• Content count

  • Joined

  • Last visited

  • Days Won


thescientist last won the day on April 8

thescientist had the most liked content!

Community Reputation

231 Excellent

About thescientist

  • Rank
    Keepin' it reel

Previous Fields

  • Languages
    HTML/CSS/JS, PHP/MySQL, bash, VCS, OSS, Java, Python

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Gender
  • Location
    Rhode Island, USA
  • Interests
    Music, programming, computers, web design, business, books, and politics.

Recent Profile Visitors

38,411 profile views
  1. I second using a local Meetup as a great way to find like-minded individuals and potential project / collaboration opportunities.
  2. FWIW, this ties into what was being taught to you in your header thread. PHP is a server side language, and is generating the body of document being requested by the browser, hence the reason why content being rendered before headers was causing you issues. There are generally two options for something like this Mix PHP with HTML / JS / CSS, in which PHP builds up the page content and delivers a final page to be rendered by the browser, including all the JS to be executed Just use PHP to provide data, and have JavaScript request just that data (ie. JSON) using AJAX and let JS / HTML handle generating the page content dynamically I prefer the second option since it keeps business logic separate from presentation, doesn't try and mix too many things, and is generally easier to organize and reason about. This is the general approach to most web development, where the backend, be it PHP, Java, NodeJS, etc acts as an API serving up all data to the client (browser) and then something like jQuery, AngularJS, React etc would be used to render that data into UI using the DOM, or whatever conventions are exposed by the given library / framework. Anyway, just some additional information for you to consider as you plan out your project.
  3. I can't speak for the decision to include tutorials on AngularJS or jQuery, but the Angular (2+) docs and guides are quite comprehensive, in particular the Tour of Heros Getting Started Guide. That's probably you best bet.
  4. it would be helpful to share the relevant code in one block, instead of three code blocks in as many posts, since it makes it harder to understand the context of your issue. And in particular with headers, seeing the whole file is important.
  5. Why can't you just have different buttons pass the different data? The showModal function would expect certain data, like title, message, etc and use something innerHTML on elements inside the modal to change their values dynamically. There is certainly a way to have multiple buttons re-use the same modal, in fact this is the cornerstone premise of UI libraries like Bootstrap.
  6. if they're both running, then it sounds like WAMP is already using port 80. Only have one or the other running.
  7. what's your question?
  8. What's the rest of the error message?
  9. Check out the w3schools tutorials
  10. this seems like a duplicate post of another post you have already made please don't duplicate post.
  11. are you looking in your browser's error console? If I visit you website's main page, there are a bunch of 404 errors which means the browser can't find the files you are looking for. Anything could be the reason for that on the server side, since you didn't explain what you changed, but pretty much it means one of these things The files don't exist on the server at all at that path You changed the path in index.html but didn't move the files there You moved the files but didn't change the path in index.html (intentional or not)
  12. If you are on a linux machine, you can probably just use find
  13. interesting. seems like it could be an easy way to introduce newbies to libraries and frameworks without the overhead of something like React or Angular and the ceremony that usually accompanies them. That said, jQuery is pretty modular these days, so not sure what niche this particular lib would fill.
  14. Does it do anything? From what I can see, that file is saved as a .txt file so I wouldn't expect it to work. Are you checking the browser's console for any error messages?
  15. seems like some source code or a link would be helpful here to make the most of this thread