Javascript course

can u guide me to the right catagory and im working with (https://www.codecademy.com/courses/learn-javascript-unit-testing/lessons/automate-organize-tests/exercises/teardown)
the code im working with const assert = require(‘assert’);
const fs = require(‘fs’);
let path, str;

describe(‘appendFileSync’, () => {
it(‘creates a new file with a string of text’, () => {

// Setup
path = ‘./message.txt’;
str = ‘Hello Node.js’;
i was wondering if any could help me with this as a button i would normally use is broken
and im just starting

As stated earlier, I have not done this track, so cannot offer any help. There is no Run button because we type our command into the bash console.

Eg.

npm test

well i just use the main website

That lesson is in a three part LE, narrative, editor, bash console (on the right).

well i normaly use the get answer button but that hasnt been working i reported but i still doesnt work and i was hoping to come on here and get some help since the discord didnt help

This track is one where the ‘rubber meets the road’ and we need to be more on our toes, relying on hints and on the error messages to guide us along. There is no harm in giving it a pass and moving on to less independent lessons that offer more hands on help. Personally, I have no interest in the lesson, so didn’t do it. Mind, I’m free to learn whatever I want since there is no career out in front of me… I’m retired and learn for fun.

oh wow well i can say im 18 and still have a long life ahead of me and i mean im still learning this i mean i remember i learned a little back in middle school but im pretty much rusty and ive been getting through most of the courses and they seem easy but this one is no different challenge im sure ill find a way to solve it

1 Like