Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
35581b3
Merge pull request #1 from thienth/master
minhhien103 Jul 23, 2017
356a621
Merge pull request #5 from thienth/lesson9
thienth Jul 23, 2017
90bd885
Merge pull request #2 from thienth/master
minhhien103 Jul 23, 2017
e4f9427
Merge pull request #1 from thienth/master
thitrinh Jul 24, 2017
0de8d4c
Merge branch 'lesson9'
thienth Jul 27, 2017
2ac96a2
Merge pull request #4 from thienth/master
minhhien103 Jul 27, 2017
65aeb99
Merge pull request #1 from thienth/master
quyenypbn Jul 27, 2017
c3f942d
Merge pull request #2 from thienth/master
thitrinh Jul 27, 2017
e66fedf
update
thienth Jul 27, 2017
67aa675
Merge pull request #5 from thienth/master
minhhien103 Jul 27, 2017
d118b7a
update logic winner
thienth Jul 27, 2017
6de8633
update lesson11
thienth Jul 30, 2017
40acd90
update check theo chieu duong cheo tu phai sang trai
thienth Jul 30, 2017
2f946e6
Merge pull request #6 from thienth/master
minhhien103 Jul 30, 2017
4a6ff3f
Merge pull request #3 from thienth/master
thitrinh Jul 30, 2017
845434d
update fixbug check null of td
thienth Jul 30, 2017
69f7ffc
Merge pull request #7 from thienth/master
minhhien103 Jul 30, 2017
a362e4b
Merge pull request #4 from thienth/master
thitrinh Jul 30, 2017
d924d63
update check tu trai sang phai
thienth Jul 30, 2017
ca104af
Merge pull request #8 from thienth/master
minhhien103 Jul 30, 2017
4e8bdd7
update exercise
thienth Jul 30, 2017
77b3958
Merge pull request #9 from thienth/master
minhhien103 Jul 30, 2017
870a232
update lesson 12
thienth Aug 3, 2017
2621ca2
Merge pull request #2 from thienth/master
quyenypbn Aug 3, 2017
279b9c5
update
thienth Aug 3, 2017
0f2f12e
Merge pull request #10 from thienth/master
minhhien103 Aug 3, 2017
881dfa3
Merge pull request #3 from thienth/master
quyenypbn Aug 3, 2017
49ae816
update shopping cart UI
thienth Aug 4, 2017
f9fe147
Merge pull request #4 from thienth/master
quyenypbn Aug 8, 2017
ee45c3a
xóa
ngahaui Aug 10, 2017
c4572ab
create lesson13 dir
thienth Aug 10, 2017
4b9b436
update lesson13
thienth Aug 10, 2017
2a063dd
Merge branch 'master' into anhvan_dev
thienth Aug 10, 2017
05e0da0
update
thienth Aug 10, 2017
43c75c5
Merge pull request #16 from thienth/anhvan_dev
thienth Aug 10, 2017
50dfce8
Merge remote-tracking branch 'origin/master'
ngahaui Aug 10, 2017
f1b62cf
Merge pull request #5 from thienth/master
quyenypbn Aug 10, 2017
12c7d4c
ghh
Shilabc Aug 10, 2017
b71e1f5
Merge pull request #11 from minhhien103/master
minhhien103 Aug 10, 2017
30f6f4a
update shopping cart logic
thienth Aug 10, 2017
9fbb868
Merge remote-tracking branch 'origin/master'
thienth Aug 10, 2017
16780ab
Merge pull request #6 from thienth/master
quyenypbn Aug 10, 2017
ed52605
dfdf
Shilabc Aug 10, 2017
17a6e69
update
Shilabc Aug 10, 2017
47ea751
Merge branch 'master' into buiducdam_dev
Shilabc Aug 10, 2017
3ca5f13
update
thienth Aug 10, 2017
0ca192e
update
thienth Aug 10, 2017
d67d015
Merge pull request #18 from quyenypbn/master
quyenypbn Aug 10, 2017
bed16e5
Merge pull request #11 from thienth/master
minhhien103 Aug 10, 2017
676ab44
Merge pull request #5 from thienth/master
thitrinh Aug 13, 2017
2bf6d9a
update lesson13 excercise
thienth Aug 13, 2017
c97f8a7
Merge remote-tracking branch 'origin/master'
thienth Aug 13, 2017
d41ca12
Merge pull request #12 from thienth/master
minhhien103 Aug 13, 2017
2aa003e
Merge pull request #20 from thitrinh/master
thitrinh Aug 13, 2017
9644d64
update lesson15
thienth Aug 17, 2017
aa554eb
Merge remote-tracking branch 'origin/master'
thienth Aug 17, 2017
b850634
Merge pull request #13 from thienth/master
minhhien103 Aug 17, 2017
521d568
update
thienth Aug 17, 2017
0327b8a
update
thienth Aug 18, 2017
5efbd9b
update bai tap php co ban
thienth Aug 20, 2017
54199fe
Merge pull request #21 from minhhien103/master
minhhien103 Aug 20, 2017
2d40d02
update
thienth Aug 20, 2017
306f888
Merge remote-tracking branch 'origin/master'
thienth Aug 20, 2017
3b00de0
update lesson17
thienth Aug 24, 2017
7d73d68
update sql
thienth Aug 24, 2017
857e648
update
thienth Aug 24, 2017
ce862e7
update lesson 18
thienth Aug 31, 2017
5bcdb91
update
thienth Sep 4, 2017
f71de0f
update
thienth Sep 7, 2017
4a81133
update
thienth Sep 7, 2017
924cbc3
update
thienth Sep 7, 2017
45c6034
Merge pull request #14 from thienth/master
minhhien103 Sep 7, 2017
3d0ee5f
update
thienth Sep 7, 2017
c870300
update
thienth Sep 7, 2017
6f3125d
update
thienth Sep 7, 2017
54d8805
update lesson 20
thienth Sep 10, 2017
435d02f
update
thienth Sep 10, 2017
95adf19
update insert/delete user
thienth Sep 14, 2017
84d0ade
update
thienth Sep 14, 2017
e23ac52
Merge pull request #15 from thienth/master
minhhien103 Sep 16, 2017
702236c
update upload image
thienth Sep 17, 2017
f767f18
Merge pull request #22 from minhhien103/master
minhhien103 Sep 17, 2017
9931f19
Merge branch 'buiducdam_dev'
Shilabc Sep 17, 2017
f14491c
Merge remote-tracking branch 'origin/master'
Shilabc Sep 17, 2017
7e93822
update
thienth Sep 18, 2017
c77acae
Merge remote-tracking branch 'origin/master'
thienth Sep 18, 2017
c6db14d
update lesson 23
thienth Sep 21, 2017
2478c5e
uupdate query builder
thienth Sep 21, 2017
db3628a
update
thienth Sep 21, 2017
459f176
Merge pull request #16 from thienth/master
minhhien103 Sep 28, 2017
66d4a06
update update function basemodel
thienth Sep 28, 2017
3f42a88
update insert & delete function basemodel
thienth Sep 28, 2017
ecb2c7e
update
thienth Sep 28, 2017
07cc3de
update insert logic
thienth Sep 28, 2017
0a120ab
update
thienth Sep 28, 2017
c332c3f
update base mvc
thienth Oct 1, 2017
e4ae7b1
update controller
thienth Oct 1, 2017
cb72005
Merge pull request #17 from thienth/master
minhhien103 Oct 1, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file modified .DS_Store
100644 → 100755
Binary file not shown.
Empty file modified l01/.DS_Store
100644 → 100755
Empty file.
Empty file modified l01/icon.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l01/index.html
100644 → 100755
Empty file.
Empty file modified l02/.DS_Store
100644 → 100755
Empty file.
Empty file modified l02/ex1.html
100644 → 100755
Empty file.
Empty file modified l02/ex2.html
100644 → 100755
Empty file.
Empty file modified l02/form.html
100644 → 100755
Empty file.
Empty file modified l02/index.html
100644 → 100755
Empty file.
Empty file modified l02/media.html
100644 → 100755
Empty file.
Empty file modified l02/public/.DS_Store
100644 → 100755
Empty file.
Empty file modified l02/public/audios/test-audio.mp3
100644 → 100755
Empty file.
Empty file modified l02/public/images/icon.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l02/public/videos/.DS_Store
100644 → 100755
Empty file.
Empty file modified l02/public/videos/test-video.mp4
100644 → 100755
Empty file.
Empty file modified l02/table.html
100644 → 100755
Empty file.
Empty file modified l02/webpage/test.html
100644 → 100755
Empty file.
Empty file modified l04/index.html
100644 → 100755
Empty file.
Empty file modified l04/layout-ex.html
100644 → 100755
Empty file.
Empty file modified l04/navigation.html
100644 → 100755
Empty file.
Empty file modified l04/public/css/style.css
100644 → 100755
Empty file.
Empty file modified l05/.DS_Store
100644 → 100755
Empty file.
Empty file modified l05/index.html
100644 → 100755
Empty file.
Empty file modified l05/layout-ex.html
100644 → 100755
Empty file.
Empty file modified l05/layout.html
100644 → 100755
Empty file.
Empty file modified l05/navigation.html
100644 → 100755
Empty file.
Empty file modified l05/public/.DS_Store
100644 → 100755
Empty file.
Empty file modified l05/public/css/grid.css
100644 → 100755
Empty file.
Empty file modified l05/public/css/style.css
100644 → 100755
Empty file.
Empty file modified l05/public/images/.DS_Store
100644 → 100755
Empty file.
Empty file modified l05/public/images/logo.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l05/public/plugins/.DS_Store
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/.DS_Store
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/HELP-US-OUT.txt
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/css/font-awesome.css
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/css/font-awesome.min.css
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/fonts/FontAwesome.otf
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/fonts/fontawesome-webfont.eot
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/fonts/fontawesome-webfont.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l05/public/plugins/font-awesome/fonts/fontawesome-webfont.ttf
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/fonts/fontawesome-webfont.woff
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/fonts/fontawesome-webfont.woff2
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/animated.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/bordered-pulled.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/core.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/fixed-width.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/font-awesome.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/icons.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/larger.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/list.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/mixins.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/path.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/rotated-flipped.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/screen-reader.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/stacked.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/less/variables.less
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_animated.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_bordered-pulled.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_core.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_fixed-width.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_icons.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_larger.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_list.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_mixins.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_path.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_rotated-flipped.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_screen-reader.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_stacked.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/_variables.scss
100644 → 100755
Empty file.
Empty file modified l05/public/plugins/font-awesome/scss/font-awesome.scss
100644 → 100755
Empty file.
Empty file modified l05/table-display.html
100644 → 100755
Empty file.
Empty file modified l06/.DS_Store
100644 → 100755
Empty file.
Empty file modified l06/layout.html
100644 → 100755
Empty file.
Empty file modified l06/public/.DS_Store
100644 → 100755
Empty file.
Empty file modified l06/public/css/grid.css
100644 → 100755
Empty file.
Empty file modified l06/public/css/style.css
100644 → 100755
Empty file.
Empty file modified l06/public/images/.DS_Store
100644 → 100755
Empty file.
Empty file modified l06/public/images/cock-tail.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l06/public/images/gia-dinh.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l06/public/images/kem-que.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l06/public/images/logo.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l06/public/images/menu-image.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l06/public/images/rau-qua.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l06/public/plugins/.DS_Store
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/.DS_Store
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/HELP-US-OUT.txt
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/css/font-awesome.css
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/css/font-awesome.min.css
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/fonts/FontAwesome.otf
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/fonts/fontawesome-webfont.eot
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/fonts/fontawesome-webfont.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l06/public/plugins/font-awesome/fonts/fontawesome-webfont.ttf
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/fonts/fontawesome-webfont.woff
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/fonts/fontawesome-webfont.woff2
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/animated.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/bordered-pulled.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/core.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/fixed-width.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/font-awesome.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/icons.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/larger.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/list.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/mixins.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/path.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/rotated-flipped.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/screen-reader.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/stacked.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/less/variables.less
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_animated.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_bordered-pulled.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_core.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_fixed-width.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_icons.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_larger.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_list.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_mixins.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_path.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_rotated-flipped.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_screen-reader.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_stacked.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/_variables.scss
100644 → 100755
Empty file.
Empty file modified l06/public/plugins/font-awesome/scss/font-awesome.scss
100644 → 100755
Empty file.
Empty file modified l07/.DS_Store
100644 → 100755
Empty file.
Empty file modified l07/index.html
100644 → 100755
Empty file.
Empty file modified l07/layout.html
100644 → 100755
Empty file.
Empty file modified l07/public/.DS_Store
100644 → 100755
Empty file.
Empty file modified l07/public/css/grid.css
100644 → 100755
Empty file.
Empty file modified l07/public/css/responsive.css
100644 → 100755
Empty file.
Empty file modified l07/public/css/style.css
100644 → 100755
Empty file.
Empty file modified l07/public/images/.DS_Store
100644 → 100755
Empty file.
Empty file modified l07/public/images/cock-tail.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l07/public/images/gia-dinh.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l07/public/images/kem-que.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l07/public/images/logo.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l07/public/images/menu-image.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l07/public/images/rau-qua.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l07/public/plugins/.DS_Store
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/bootstrap/css/bootstrap-theme.css
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/bootstrap/css/bootstrap-theme.css.map
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/bootstrap/css/bootstrap-theme.min.css
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/bootstrap/css/bootstrap-theme.min.css.map
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/bootstrap/css/bootstrap.css
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/bootstrap/css/bootstrap.css.map
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/bootstrap/css/bootstrap.min.css
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/bootstrap/css/bootstrap.min.css.map
100644 → 100755
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file modified l07/public/plugins/bootstrap/js/bootstrap.js
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/bootstrap/js/bootstrap.min.js
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/bootstrap/js/npm.js
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/.DS_Store
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/HELP-US-OUT.txt
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/css/font-awesome.css
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/css/font-awesome.min.css
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/fonts/FontAwesome.otf
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/fonts/fontawesome-webfont.eot
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/fonts/fontawesome-webfont.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l07/public/plugins/font-awesome/fonts/fontawesome-webfont.ttf
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/fonts/fontawesome-webfont.woff
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/fonts/fontawesome-webfont.woff2
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/animated.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/bordered-pulled.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/core.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/fixed-width.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/font-awesome.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/icons.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/larger.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/list.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/mixins.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/path.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/rotated-flipped.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/screen-reader.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/stacked.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/less/variables.less
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_animated.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_bordered-pulled.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_core.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_fixed-width.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_icons.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_larger.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_list.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_mixins.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_path.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_rotated-flipped.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_screen-reader.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_stacked.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/_variables.scss
100644 → 100755
Empty file.
Empty file modified l07/public/plugins/font-awesome/scss/font-awesome.scss
100644 → 100755
Empty file.
Empty file modified l08/index.html
100644 → 100755
Empty file.
Empty file modified l08/main.js
100644 → 100755
Empty file.
Empty file modified l09/index.html
100644 → 100755
Empty file.
Empty file modified l09/main.js
100644 → 100755
Empty file.
7 changes: 7 additions & 0 deletions l10/form.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@
width: 40px;
height: 40px;
border: 1px solid #000;
text-align: center;
font-size: 30px;
}
table{
border-spacing: 0;
border-collapse: collapse;
}

</style>
</head>
<body>
Expand Down
Empty file modified l10/index.html
100644 → 100755
Empty file.
Empty file modified l10/public/images/anh1.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l10/public/images/anh2.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified l10/public/images/anh3.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 50 additions & 3 deletions l10/public/js/form.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,66 @@
var selectTag = document.getElementById('select-cell');
var tbodyTag = document.getElementById('playground');
var option = '';
for (var i = 1; i <=30 ; i++) {
for (var i = 5; i <=30 ; i++) {
option += "<option value=" + i + ">"+i+"</option>";
}
selectTag.innerHTML = option;

var turn = "X";
var color = 'lightgreen';
function start(){
var tbodyContent = "";
var playgroundSize = selectTag.value;
for (var i = 0; i < playgroundSize; i++) {
tbodyContent += "<tr>";
for (var j = 0; j < playgroundSize; j++) {
tbodyContent += "<td x=" + j + " y=" + i +"></td>";
tbodyContent += "<td onclick='check(this)' x=" + j + " y=" + i +"></td>";
}
tbodyContent += "</tr>";
}
tbodyTag.innerHTML = tbodyContent;
}
}

function check(element){
if(element.innerText == ""){
element.innerText = turn;
element.style.color = color;
var winner = checkWinner(element);
if(winner) {
alert("chuc mung ban da chien thang");
start();
return;
}
color = turn == "X" ? "red" : "lightgreen";
turn = turn == "X" ? "O" : "X";

}
}

function checkWinner(element){
var flag = false;
// check hang ngang (y = nhau)
var listTd =
document.querySelectorAll('[y="'+element.attributes.y.value+'"]');
var countTurn = 0;
for (var i = 0; i < listTd.length; i++) {
// listTd[i].style.background = "#ccc";
if(listTd[i].innerText == turn){
countTurn++;
}else{
countTurn = 0;
}

if(countTurn >= 5){
flag = true;
break;
}
}

// neu thang thi return true, chua thang return false
return flag;
}




Empty file modified l10/public/js/main.js
100644 → 100755
Empty file.
30 changes: 30 additions & 0 deletions l11/ex.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<link rel="stylesheet" href="">
</head>
<body>

<div>
<p><b>B1:</b> Đếm có bao nhiêu khoảng trắng trong chuỗi.</p>
<input type="text" id="b1" >
<button type="button" onclick="bai1()">bai1</button>
</div>
<div>
<p><b>B6:</b> Viết chương trình đổi những kí tự đầu tiên của mỗi từ thành chữ in hoa.</p>
<input type="text" id="b6" >
<button type="button" onclick="bai6()">bai6</button>
</div>
<div>
<p><b>B9:</b> Viết chương trình tìm kiếm 1 kí tự xem có trong chuỗi không, nếu có xuất ra vị trí của từ chứ kí tự đó. (Vd: xâu a là “ho chi minh”: nhập ‘m’=>kết quả là 3)</p>
<input type="text" id="b9" >
<input type="text" id="b9Char" placeholder="character">
<button type="button" onclick="bai9()">bai6</button>
</div>

<script src="public/js/ex.js"></script>
</body>
</html>
35 changes: 35 additions & 0 deletions l11/public/js/ex.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
function bai1(){
var str = document.getElementById('b1').value;
var arr = str.split(" ");
console.log(arr.length-1);
}
function bai6(){
var str = document.getElementById('b6').value;
var arr = str.split(" ");
var result = "";
for (var i = 0; i < arr.length; i++) {
var arrStr = arr[i];
if(arrStr == undefined || arrStr == null || arrStr == ""){
continue;
}

var lst = arrStr[0].toUpperCase();
lst += arrStr.slice(1);
arr[i] = lst;
}
result = arr.join(" ");
console.log(result);
}
function bai9(){
var str = document.getElementById('b9').value;
var char = document.getElementById('b9Char').value;
var arr = str.split(" ");

for (var i = 0; i < arr.length; i++) {
var pos = arr[i].indexOf(char);
if(pos != -1){
console.log(i+1);
break;
}
}
}
149 changes: 149 additions & 0 deletions l11/public/js/form.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
var selectTag = document.getElementById('select-cell');
var tbodyTag = document.getElementById('playground');
var option = '';
for (var i = 5; i <=30 ; i++) {
option += "<option value=" + i + ">"+i+"</option>";
}
selectTag.innerHTML = option;

var turn = "X";
var color = 'lightgreen';
function start(){
var tbodyContent = "";
var playgroundSize = selectTag.value;
for (var i = 0; i < playgroundSize; i++) {
tbodyContent += "<tr>";
for (var j = 0; j < playgroundSize; j++) {
tbodyContent += "<td onclick='check(this)' x=" + j + " y=" + i +"></td>";
}
tbodyContent += "</tr>";
}
tbodyTag.innerHTML = tbodyContent;
}

function check(element){
if(element.innerText == ""){
element.innerText = turn;
element.style.color = color;
var winner = checkWinner(element);
if(winner) {
alert("chuc mung ban da chien thang");
start();
return;
}
debugger;
color = turn == "X" ? "red" : "lightgreen";
turn = turn == "X" ? "O" : "X";

}
}

function checkWinner(element){
var flag = false;
// check hang ngang (y = nhau)
var listTd =
document.querySelectorAll('[y="'+element.attributes.y.value+'"]');
var countTurn = 0;
for (var i = 0; i < listTd.length; i++) {
// listTd[i].style.background = "#ccc";
if(listTd[i].innerText == turn){
countTurn++;
}else{
countTurn = 0;
}

if(countTurn >= 5){
flag = true;
break;
}
}

// neu thang thi return true, chua thang return false
if(flag){
return flag;
}

countTurn = 0;
// Check theo hang doc (x = nhau)
var listTd =
document.querySelectorAll('[x="'+element.attributes.x.value+'"]');
var countTurn = 0;
for (var i = 0; i < listTd.length; i++) {
// listTd[i].style.background = "#ccc";
if(listTd[i].innerText == turn){
countTurn++;
}else{
countTurn = 0;
}

if(countTurn >= 5){
flag = true;
break;
}
}

// neu thang thi return true, chua thang return false
if(flag){
return flag;
}

// Check duong cheo tu phai sang trai diem dau tien se co toa do(x+y, 0)
countTurn = 0;
var customX = parseInt(element.attributes.x.value)
+ parseInt(element.attributes.y.value);
var customY = 0;
while(customX != -1){
var td = document
.querySelector('[x="' + customX + '"][y="' + customY + '"]');
if(td != null){

if(td.innerText == turn){
countTurn++;
}else{
countTurn = 0;
}

if(countTurn >= 5){
flag = true;
break;
}
}
customX--; customY++;
}

if(flag){
return flag;
}

// Check duong cheo tu trai sang phai diem dau tien se co toa do(x-y, 0)
countTurn = 0;
var customX = parseInt(element.attributes.x.value)
- parseInt(element.attributes.y.value);
var customY = 0;
while(customY <= parseInt(selectTag.value)){
var td = document
.querySelector('[x="' + customX + '"][y="' + customY + '"]');
if(td != null){

if(td.innerText == turn){
countTurn++;
}else{
countTurn = 0;
}

if(countTurn >= 5){
flag = true;
break;
}
}
customX++; customY++;
}
if(flag){
return flag;
}

}




Binary file added l12/.DS_Store
Binary file not shown.
41 changes: 41 additions & 0 deletions l12/b1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<link rel="stylesheet" href="">
</head>
<body>
<button type="button" imgUrl="http://s3.weddbook.com/t4/2/3/6/2363380/sexy-girl.jpg">Con nguời</button>
<button type="button" imgUrl="https://vignette3.wikia.nocookie.net/adventuretimewithfinnandjake/images/0/06/Pig_trans.png/revision/latest?cb=20120812082359">Con heo</button>
<button type="button" imgUrl="http://kids.nationalgeographic.com/content/dam/kids/photos/animals/Mammals/H-P/pig-full-body.adapt.945.1.jpg">Con lợn</button>
<button type="button" imgUrl="https://www.cesarsway.com/sites/newcesarsway/files/styles/large_article_preview/public/Common-dog-behaviors-explained.jpg?itok=FSzwbBoi">Con chó</button>
<button type="button" imgUrl="http://news.nationalgeographic.com/content/dam/news/2016/10/08/drill-monkey-waq/drill-monkey-01.jpg">Con khỉ</button>
<button type="button" imgUrl="https://img.purch.com/h/1000/aHR0cDovL3d3dy5saXZlc2NpZW5jZS5jb20vaW1hZ2VzL2kvMDAwLzAzNi85ODgvb3JpZ2luYWwvZWxlcGhhbnRzLmpwZw==">Con voi</button>
<h2></h2>
<img src="" width='400' alt="">

<style type="text/css" media="screen">
.active{
border: 5px solid #ccc;
border-radius: 10px;
width: 600px;
}
</style>
<script type="text/javascript" src="public/js/jquery.min.js"></script>
<script>
$(document).ready(function(){

$('button').hover(function(){
$('h2').text($(this).text());
$('img').attr('src', $(this).attr('imgUrl'));
$(this).remove();
});
$('img').on('mouseover mouseout', function(){
$(this).toggleClass('active');
});
});
</script>
</body>
</html>
34 changes: 34 additions & 0 deletions l12/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<link rel="stylesheet" href="">
</head>
<body>
<input type="text" id="target" value="" placeholder="">
<input type="radio" name="gender" value="Male" > Male
<input type="radio" value="Female" name="gender" > Female
<input type="radio" value="Gay" name="gender"> Gay
<input type="radio" value="Les" name="gender"> Les
<button type="button">Check gender</button>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<script type="text/javascript" src="public/js/jquery.min.js"></script>
<script>
$(document).ready(function(){
$('#target').on('keydown', function(){
var value = $('#target').val();
$('h2').text(value);
});

$('button').on('click', function(){
$('h2').text($('input[type=radio]:checked').val());
});
});
</script>
</body>
</html>
Loading