Skip to content

Commit ea496d0

Browse files
committed
update styles for tutorial
1 parent de92d8d commit ea496d0

File tree

2 files changed

+28
-12
lines changed

2 files changed

+28
-12
lines changed

01-CRUD.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Introduction to Mongo"
33
logoImg: "https://raw.githubusercontent.com/HansUXdev/JavaScript-First/884d95cce59c213f6bb2af7e6d54977b7e06b048/logo.drawio.svg"
44
theme : "night"
55
transition: "slide"
6-
# highlightTheme: "monokai"
6+
highlightTheme: "dracula"
77
slideNumber: true
88
# loop: true
99
# autoSlide: 5000
@@ -16,6 +16,7 @@ enableChalkboard: false
1616
---
1717

1818
<style>
19+
.line.focus{background:none;font-size: xx-large;color:#5cc4ea;}
1920
#logo > img {max-height: 10.5em;}
2021
.p1{padding:1em; border:none}
2122
</style>
@@ -77,7 +78,6 @@ Key VS Column { .fragment }
7778
:::block
7879
Document VS Record { .fragment }
7980

80-
Key: values
8181
:::
8282

8383

@@ -92,9 +92,25 @@ Values have a datatype
9292

9393
### What is C.R.U.D.?
9494

95-
[![](assets/CRUD.drawio.svg)]()
96-
{ .fragment .p1}
9795

96+
:::block
97+
[![](assets/CRUD.drawio.svg)]()
98+
99+
{style=width:50%;float:left; height:50%}
100+
101+
:::
102+
103+
:::block
104+
**C**reate with `insert( )` { .fragment }
105+
106+
**R**ead with `find( )` { .fragment }
107+
108+
**U**pdate with `update( )` { .fragment }
109+
110+
**D**elete with `remove( )` { .fragment }
111+
112+
{style=width:50%;float:right; height:50%}
113+
:::
98114

99115
---
100116

@@ -150,7 +166,7 @@ call the database and the collection {.fragment .current-only data-code-focus=11
150166

151167
add another lawyer from the state bar, "Doug" {.fragment .current-only data-code-focus=18-18}
152168

153-
**DELETES** a disbar the lawyer "Doug" {.fragment .current-only data-code-focus=20-20}
169+
**DELETE** the lawyer "Doug" {.fragment .current-only data-code-focus=20-20}
154170

155171

156172
{style=width:20%;float:right}

lessons/00-local-docker.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Here we are applying the idea of [GhostPlate](https://github.com/HansUXdev/Ghost
44

55
# How to use?:
66
See that button?
7-
Click it with your right index finger and wait.
8-
If you use any other finger I will bite it off.
9-
[![Open in Gitpod](http://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/gitpod-io/gitpod-status)
7+
Click it.
108

9+
<p align="center">
10+
<a href="https://gitpod.io/#https://github.com/HansUXdev/MongoLearnPodt"><img src="http://gitpod.io/button/open-in-gitpod.svg" alt="Open on GitPod" height="50px"/></a>
11+
</p>
1112

12-
Then follow the directions inside the GitPod. Don't worry its still better than Microsoft documentation...
1313

1414
## Unit Learning Objective
1515
Students should be to:
@@ -29,9 +29,6 @@ Students should be to:
2929
3. Distinguish between the name of a docker image (mongo) and the container name (learn-mongo)
3030
4. Use NPM Scripts to store docker commands such as docker exec for mongo shell
3131

32-
# About me
33-
Hans McMurdy is an experianced web developer and coding teacher.
34-
3532
## About
3633
This is a brief mongo tutorial in GitPod and originally built for docker and docker compose which you can see [here](https://github.com/HansUXdev/OSS-Books/tree/master/JavaScript-First/00-JavaScript-DataBases/mongo).
3734

@@ -95,6 +92,9 @@ This is a brief mongo tutorial in GitPod and originally built for docker and doc
9592
- ```docker exec -it learn-mongo mongo```
9693

9794
# Conclusion
95+
9896
## Key learnings
97+
9998
## Tips and advice
99+
100100
## Final thoughts and next steps

0 commit comments

Comments
 (0)