Skip to content

Commit abfd8ec

Browse files
committed
updated finance and survey
1 parent 6b30de5 commit abfd8ec

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

_pages/2019/ap/problems/finance/finance.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Let's turn our attention now to this problem's distribution code!
2929

3030
[source,subs="macros"]
3131
----
32-
$ wget http://cdn.cs50.net/2018/fall/psets/8/finance/finance.zip
32+
$ wget http://cdn.cs50.net/ap/2019/problems/finance/finance.zip
3333
$ unzip finance.zip
3434
$ rm finance.zip
3535
$ cd finance
@@ -162,7 +162,7 @@ Complete the implementation of `check` in such a way that it checks whether a us
162162

163163
Finally, enhance your template for `register` with some JavaScript in such a way that it prevents submission of your registration form if the inputted username is already taken, letting the user know, as via `alert` or via a Bootstrap http://getbootstrap.com/docs/4.1/components/alerts/[alert] or http://getbootstrap.com/docs/4.1/components/forms/#validation[validation].
164164

165-
* Use Ajax (e.g., jQuery's https://api.jquery.com/jquery.get/[`$.get`] method) to query `/check` to check whether the inputted username is available.
165+
* Use Ajax (e.g., jQuery's https://api.jquery.com/jquery.get/[`$.get`] method) to query `/check` to check whether the inputted username is available.
166166
* Recall that you can prevent submission of a form with https://www.w3schools.com/jsref/event_preventdefault.asp[`preventDefault`], and you can programmatically induce submission of a form (once validated by you) with https://www.w3schools.com/jsref/met_form_submit.asp[`submit`].
167167

168168
=== personal touch
@@ -299,3 +299,5 @@ If you run into any trouble, email [email protected]!
299299
You may resubmit any problem as many times as you'd like.
300300

301301
Your submission should be graded for correctness within 2 minutes, at which point your score will appear at https://submit.cs50.io/[submit.cs50.io]!
302+
303+
This was C$50 Finance.

_pages/2019/ap/problems/survey/survey.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Here's how to download this problem's distribution into your own CS50 IDE. Log i
3030
1. Execute `cd` to ensure that you're in `~/` (i.e., your home directory).
3131
1. Execute `mkdir chapter7` to make (i.e., create) a directory called `chapter7` in your home directory, if you haven't already done so.
3232
1. Execute `cd chapter7` to change into (i.e., open) that directory.
33-
1. Execute `wget http://cdn.cs50.net/2018/fall/psets/7/survey/survey.zip` to download a (compressed) ZIP file with this problem's distribution.
33+
1. Execute `wget http://cdn.cs50.net/ap/2019/problems/survey/survey.zip` to download a (compressed) ZIP file with this problem's distribution.
3434
1. Execute `unzip survey.zip` to uncompress that file.
3535
1. Execute `rm survey.zip` followed by `yes` or `y` to delete that ZIP file.
3636
1. Execute `ls`. You should see a directory called `survey`, which was inside of that ZIP file.
@@ -101,7 +101,7 @@ Provided you meet these specifications, you're welcome to alter the aesthetics o
101101
** link:https://getbootstrap.com/docs/4.1/components/forms/[Forms]
102102
** link:https://getbootstrap.com/docs/4.1/content/tables/[Tables]
103103
* link:https://docs.python.org/3/library/csv.html[`csv`]
104-
** link:https://docs.python.org/3/library/csv.html#csv.writer[`csv.writer`]
104+
** link:https://docs.python.org/3/library/csv.html#csv.writer[`csv.writer`]
105105
** link:https://docs.python.org/3/library/csv.html#csv.DictWriter[`csv.DictWriter`]
106106
* link:https://datatables.net/examples/styling/bootstrap4[DataTables]
107107
** link:https://datatables.net/reference/option/[Options]
@@ -176,3 +176,5 @@ If you run into any trouble, email [email protected]!
176176
You may resubmit any problem as many times as you'd like.
177177

178178
Your submission should be graded for correctness within 2 minutes, at which point your score will appear at https://submit.cs50.io/[submit.cs50.io]!
179+
180+
This was Survey.

0 commit comments

Comments
 (0)