Skip to content

Commit 80cb2ab

Browse files
authored
minor
- added js to code blocks for syntax highlighting - line 70 subect >>> subject - line 71 variables >>> subject - removal of red dots - line 70 added code formatting to "student and "subject" to match style
1 parent fca8fb3 commit 80cb2ab

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This challenge focuses on classes in JavaScript using the new `class` keyword.
66

77
You already pretty much know all about classes but you're used to seeing them built in the following context:
88

9-
```
9+
```js
1010
function Person(personAttributes) {
1111
this.name = personAttributes.name;
1212
this.age = personAttributes.age;
@@ -39,7 +39,7 @@ const fred = new Person({
3939
* **Project Managers** - extensions of Instructors
4040
* **IMPORTANT** - You'll need to create 2 - 3 objects for each class and test them according to their unique Attributes. For example:
4141

42-
```
42+
```js
4343
const fred = new Instructor({
4444
name: 'Fred',
4545
location: 'Bedrock',
@@ -56,7 +56,7 @@ const fred = new Instructor({
5656
* First we need a Person class. This will be our `base-class`
5757
* Person receives `name` `age` `location` `gender` all as props
5858
* Person receives `speak` as a method.
59-
* This method logs out a phrase `Hello my name is Fred, I am from Bedrock​​​​​` where `name` and `location` are the object's own props
59+
* This method logs out a phrase `Hello my name is Fred, I am from Bedrock` where `name` and `location` are the object's own props
6060

6161
#### Instructor
6262

@@ -67,8 +67,8 @@ const fred = new Instructor({
6767
* `favLanguage` i.e. 'JavaScript, Python, Elm etc.'
6868
* `catchPhrase` i.e. `Don't forget the homies`
6969
* Instructor has the following methods:
70-
* `demo` receives a `subect` string as an argument and logs out the phrase '​​​​​Today we are learning about {subject}' where subject is the param passed in.
71-
* `grade` receives a student object and a subject string as arguments and logs out '​​​​​{student.name} receives a perfect score on {variables​​​​​}'
70+
* `demo` receives a `subject` string as an argument and logs out the phrase 'Today we are learning about {subject}' where subject is the param passed in.
71+
* `grade` receives a `student` object and a `subject` string as arguments and logs out '{student.name} receives a perfect score on {subject}'
7272

7373
#### Student
7474

@@ -92,7 +92,7 @@ const fred = new Instructor({
9292
* `favInstructor`: i.e. Sean
9393
* ProjectManangers have the following Methods:
9494
* `standUp` a method that takes in a slack channel and logs `{name} announces to {channel}, @channel standy times!​​​​​
95-
* `debugsCode` a method that takes in a student object and a subject and logs out `{​​​​​name} debugs {student.name}'s code on {subject}`
95+
* `debugsCode` a method that takes in a student object and a subject and logs out `{name} debugs {student.name}'s code on {subject}`
9696

9797
#### Stretch Problem
9898

0 commit comments

Comments
 (0)