Software Development and Programming Careers (Official Discussion Thread)

Carlton Banks

Upper Class
Bushed
Supporter
Joined
Dec 9, 2014
Messages
20,720
Reputation
3,036
Daps
79,084
I would assume if it's showing the HTML preview then it's trying to load in ann the CSS and JS assets as well. Are you sure your paths are correct? Does it work when previewed in a normal browser?

It only previews the html in my browser and it doesn't load the css.. I dont even know how to preview it in the program
 

Obreh Winfrey

Truly Brehthtaking
Supporter
Joined
Nov 18, 2016
Messages
20,852
Reputation
25,252
Daps
131,941
It only previews the html in my browser and it doesn't load the css.. I dont even know how to preview it in the program
Been a long time since I've messed around with web dev, but this sounds like a relative path issue. You got a snippet you can post and a listing of your directory structure? And as far as previewing in VS Code, open the command palette and start typing the name of that extension. An option should appear.
 

Carlton Banks

Upper Class
Bushed
Supporter
Joined
Dec 9, 2014
Messages
20,720
Reputation
3,036
Daps
79,084
Been a long time since I've messed around with web dev, but this sounds like a relative path issue. You got a snippet you can post and a listing of your directory structure? And as far as previewing in VS Code, open the command palette and start typing the name of that extension. An option should appear.

I figured it out... wasn't as hard as I was making it. I'm still getting used to VSC. I've only really used Sublime for text editing.
 

Kwabena

I am STEM.
Joined
Nov 25, 2016
Messages
11,741
Reputation
1,014
Daps
31,490
Reppin
Antibes
Saw a job posting for a junior dev position at Rockstar Games; 200+ applicants. Now I get why companies do rigorous multiple-stage whiteboarding with Leetcode-esque questions, despite the backlash
 

Artenche

All Star
Joined
Oct 22, 2017
Messages
903
Reputation
230
Daps
2,597
Reppin
Ayiti
giphy.gif

lmao

:russ:
 

Rev Leon Lonnie Love

damned mine eyes, DAMNED mine eyes!!
Joined
Nov 11, 2017
Messages
21,913
Reputation
5,478
Daps
88,998
Vim is a bytch to configure, so the VSC Vim emulator is good enough

:gucci: Thats why we have the .vimrc file. So you can automate your configuration. Here's an example tomnomnom/dotfiles

On any machine you can literally just copy your .vimrc file in your home directory, then open vim and load your plugins via :PluginInstall if you have any,
 

Rev Leon Lonnie Love

damned mine eyes, DAMNED mine eyes!!
Joined
Nov 11, 2017
Messages
21,913
Reputation
5,478
Daps
88,998
Too much work
HUH?! :gucci:

You can literally find templates of vimrc files all over the net. You only ever need to set it up once, plus the same config can be used across all machines u work on. After that you dont need to touch it. come on breh. If you dont wanna use vim just say that :francis:
 
Top