Hot answers tagged

3

Suggestion: validate your register.html with Nu Html Checker. (Right-click, view source, copy, paste into the checker). It should complain about the typo in this line <input type="email" class="form-control" id="inputEmail" name: "email" placeholder="example@gmail.com" data-error="Invalid Email Address" required>


2

It's not so much you "can't" pass it as you "don't" pass it. There is no input element whose name attribute is "name". After edit: from the screenshot, you should notice it's using a "get" method because, well it says so, and there is a the query string. You'll either need to add a method="post" attribute to the form element, or test for a GET and look at ...


1

This is sketchy: foreach($result as $result): ?> because the var names are the same (and I'm not sure about : in php). Wouldn't the proper syntax here <option value="$result["name"]"> be <option value="<?= $result['name'] ?>">? Syntax of the echo is not what you want in the second version since it will literally echo "<option> $name &...


1

If you look at your submission results (http://submit.cs50.io) you can click the check50 link to see why you got 1/2. And then you can fix that. Either you didn't include the link to your video demonstration or your README.md isn't comprehensive enough.


1

If you are using something that was a part of the course such as the PONG and just changing colours and adding just some features, your project will be rejected. For your project to be accepted you will have to create something from start to finish that is YOUR OWN IDEA or try to replicate something that wasn't taught in the lecture. As far as Unity is ...


1

The parameter list one=one, wp=wp, u1=u1['id'] binds three values. The query UPDATE rankings SET TTTWins = TTTWins + :one, TotalWins = TotalWins + :one, points = points + wp WHERE userID = :u1 has two (distinct) named parameters.


1

You can add "name" and "value" attributes to each button element (reference: MDN doc). You wouldn't need the hidden input elements.


1

Yes, that's fine. As long as you're using the knowledge you gained in this course, you are free to use whatever language you want.


1

While I'm not staff, I can tell you that the idea of the final project is to do some non-trivial project using any modern programming tools and environments. So, IMHO, yes, it's perfectly acceptable to do your project as you've suggested! Of course, you're welcome to contact staff too. @curiouskiwi, want to weigh in?


1

Yes, that's fine. You aren't required to submit your code if it's not developed in the IDE. Instead, you only need to submit a readme type file (and a video).


1

giving "wall" and "project" directory 711 permissions solved the problem for me. Thanks


1

If you want to target all the <tr> or <td> children inside the table use: table#leaderboard tr { /*whitespace combinator*/ /*all children*/ } If you want to target only the direct children (in case you have nested tables) use: table#leaderboard > tr { /*right arrow combinator*/ /*direct children only*/ } Edit Outside the ...


1

Problem solved. I needed to add the style attribute (style="STYLE CODE").


Only top voted, non community-wiki answers of a minimum length are eligible