Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialYerVonda Colbert
5,846 Pointsresume.html
I continue to get an error when I add resume.html to the end of my website http://port-80-4gxvbyvz9g.treehouse-app.com/resume.html everything else works fine just not the port of connecting webpage to resume
please help..I went back 2 videos and checked and rechecked code in index.html
2 Answers
Abdul Zainos
4,938 PointsHi YerVonda,
It looks like the name of the actual file is causing you problems. You may want to try and remove the capital "R" from Resume.html and make sure the file is named "resume.html"
Let me know if this doesn't help.
-Abdul
YerVonda Colbert
5,846 PointsThanks Abdul, it solved my problem.
YerVonda Colbert
5,846 PointsAdd a final else clause to this conditional statement. If both the isAdmin and isStudent variables are false, the value of the message variable should be "Access denied".
Code
To insatall the layest version of NPM, you can type, `npm install npm@latest -g
const isAdmin = false;
const isStudent = false;
let message;
if ( isAdmin ) {
message = 'Welcome admin';
} else if ( isStudent ) {
message = 'Welcome student';
} else isAdmin + isStudent = false
message= 'Access denied';
}
YerVonda Colbert
5,846 PointsCan you please help me on this challenge.
Abdul Zainos
4,938 PointsYerVonda Colbert can you please create a new question/entry? Unfortunately, I'm not well versed in script. I'd feel a lot better if someone more capable answered your question.
YerVonda Colbert
5,846 PointsYerVonda Colbert
5,846 PointsNot Found
The requested URL was not found on this server.
Apache/2.4.18 (Ubuntu) Server at port-80-4gxvbyvz9g.treehouse-app.com Port 80