- Figuring out what you actually want to do
- How to decide? What did you enjoy doing during the course and on the project? What didn’t you enjoy? (But remember that just because it’s hard to learn doesn’t mean you wouldn’t to do it)
- Apply to LOTS of jobs
- It's a marathon not a sprint
- Create a template cover letter that you can easily tweak for different jobs - just make 100% sure you have correctly changed the company name & job title before you send it!
- Cover letters are your chance to show that you're excited about the job! Talk about why you want this job in particular or the why you like the company
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sleepMachine = Machine({ | |
initial: 'awake', | |
states: { | |
awake: { | |
on: { | |
GO_TO_SLEEP: 'asleep' | |
} | |
}, | |
asleep: { | |
on: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fetchMachine = Machine({ | |
id: 'http', | |
initial: 'idle', | |
context: { | |
data: [] | |
}, | |
states: { | |
idle: { | |
on: { | |
FETCH: 'loading' |
In your lesson you may have encountered some ESLint errors, don't stress about it, this is not your fault! An issue slipped into the CYF template code and now we will fix it together 🙂
ESLint rules are designed to help you by making sure your code is consistent. It is common to for companies to turn on ESLint rules so that every developer that the company writes code in a similar way. During the lesson we did not have enough time to fix everyone's code to match the rules.
To fix the problem, there are 2 possible solutions:
- A quick fix, which simply disables the rules. This will get you writing React code faster, but in the future you may have problems with code that is inconsistent with other trainee's
- A more complete fix, but will change your editor config so that your code will be consistent in VSCode from now on
- In your
pokedex
project, find all the files with a comment like:/* eslint-disable indent, linebreak-style */
- Edit the comment to remove the
linebreak-style
bit, so that it just becomes/* eslint-disable indent */
This will cause ESLint to fail, but don't worry we'll fix it in the next step :)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const chatMachine = Machine({ | |
id: "chat", | |
type: "parallel", | |
context: { | |
messages: [] | |
}, | |
states: { | |
http: { | |
initial: "idle", | |
states: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const chatMachine = Machine({ | |
id: "chat", | |
initial: "idle", | |
context: { | |
messages: [] | |
}, | |
states: { | |
idle: { | |
on: { | |
fetch: "fetching", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const chatMachine = Machine({ | |
id: "chat", | |
initial: "idle", | |
context: { | |
messages: [] | |
}, | |
states: { | |
idle: { | |
on: { | |
fetch: "fetching", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BSStrategy = { | |
version: 4, | |
displayName: "PocketCasts+", | |
accepts: { | |
method: "predicateOnTab", | |
format: "%K LIKE[c] '*play*.pocketcasts.com*'", | |
args: ["URL"] | |
}, | |
toggle: function () { | |
document.querySelector('.controls [aria-label="Play"]').click() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Script loading</title> | |
</head> | |
<body> | |
Hello world |