All Questions
Tagged with directory-structure html
35
questions
0
votes
0
answers
424
views
Static Website Folder Structure - Reusability
I'm creating a static site built with HTML and Javascript. I'd like to maintain a reusable html structure for the site for a subset of the pages. Similar to how Yelp organizes their file structure. ...
1
vote
2
answers
680
views
Making a folder with html and node.js
I wanted to make a website that takes an input and, using node.js for the backend, makes a folder using mkdirSync(input.value). I have the fs module installed locally and I got it to work when using ...
-2
votes
2
answers
1k
views
Importing a JS library installed as a Node module
I want to set up a project using the Britecharts library. Having installed Britecharts with npm install --save britecharts d3-selection I'm trying to verify that the imports are working by displaying ...
0
votes
1
answer
77
views
Heading in javascript or html in a component-based design for website
I like the component based method of creating different folders for different components.
So I currently have:
- components/
- heading/
- heading.css
- heading.js
- heading.html
I want ...
0
votes
4
answers
3k
views
Angular's main html file can't use the styles.scss file inside the src/styles folder
I'm new to Angular.
In order to use the 7-1 scss pattern in my project, I created a styles folder inside the src folder "src/styles", and linked the components to the src/styles/style.scss ...
0
votes
1
answer
126
views
Failed to load resource: the server responded with a status of 404 (Not Found) but image shows up
trying to to justify my content using flexbox and this code shows up:
Failed to load resource: the server responded with a status of 404 (Not Found)
The image does show up though. but the image does ...
1
vote
2
answers
618
views
Html directory link not working if the directory is not from the beginning
My problem is that I have a bunch of HTML files but in simple I have public_html/pages folder + index.html/under pages folder a dmca.html is located.
So when I want to locate the file using href = &...
0
votes
1
answer
413
views
Rest api: having trouble with root path directory
I am pretty sure Im writing the directory wrong.
This is the error Im getting on Postman:
Warning: require_once(./includes/functions.php): failed
to open stream: No such file or directory in
/var/...
2
votes
1
answer
404
views
Where to put video content in website project?
It's advised to put images for website in images folder both for good structure and SEO perspective.
And where should I put local video content? A folder called videos?
0
votes
1
answer
413
views
How to use a media file located outside of public folder on a website? (PHP, HTML)
I'm curious about this, and I think I'm half way to a "no", but I'm not an expert.
Having a directory structure like the following, and being public the public root of a website:
.
Every .php file ...
0
votes
0
answers
307
views
Created nested / child pages HTML
I'm building a fairly simple HTML/PHP website with about 40 pages, and I am using an htaccess rewrite to create a "faux" subdirectory folder named /support, so that url's for the "child" pages look ...
0
votes
1
answer
35
views
.htaccss Rewrite Rules
I currently have a folder structure of
root/page1.html
root/page2.html
root/page3.html
root/page3/subpage1.html
and am trying to use the rewrite rules to hide the .html part when displayed in ...
-2
votes
1
answer
360
views
How to integrate Nodejs with Angular js?
Im using express framework in nodejs. My Nodejs folder structure is given below:
public
css
js
routes
files.js
views
htmlfiles.html
app.js
package.json
I havent worked in ...
0
votes
2
answers
2k
views
ReferenceError: Can't find variable: io
I have the following folder structure html directory: index.html, index.html, public/js directory: main.js, socket.js, and in the root directory I have server.js
In server.js I set up the socket.io ...
0
votes
2
answers
4k
views
File Directory - Replace Backward Slash "\" with Forward Slash "/"
On a daily basis, I save my web pages files on a public drive. I then have to send a direct link of the html file to the client.
To do so, I tend to manually convert all the backslashes "\" from the ...