Does the codepen crossword not display correctly? Please give more details about that please.
No. I made the html file then attached a separate css file and it didnât display right.
Well in that case itâs what youâre doing with your separate files that you need help with.
In the html where it says div class=crossword board container, does something go under this? I notice a space between this and the div for the crossword board.
Itâs just a blank line. The original person that developed the css-only crossword did that for some unknown reason.
I attached the css stylesheet like this
link rel= âstylesheetâ type= text/css href= âgrid.cssâ
@jackson108 rather than copying and pasting code from CodePen, you can export all the code in one go, which you can then upload to your host ot localhost.
At the bottom of the page youâll see an Export link. Click that, then click Export Zip, and bingo, itâs all yours! No fuss, no sweat, and no errors.
While adding the different variations to a Collection, I found where some parts of the code had been misplaced to, and removed ones that shouldnât have been there.
Of course that means the link for part 8 out of 8 was the wrong link, even though it had the same code, so Iâve updated it on my posts because, you know, ocd issues
The full collection is at https://codepen.io/collection/DPZJYy?grid_type=list
Part 8 is at https://codepen.io/pmw57/pen/eYpxKKa
How would you attach a stylesheet that uses both css and scss to html?
Firstly, why not export the code and you can see how it works.
Secondly, a stylesheet does not include both CSS and SCSS. A stylesheet only includes CSS code. As has been explained to you in another post, SCSS has to be compiled into CSS to be used.
I tried clicking the export link like you said but there were no options that popped up.
Do you not see this?
Yes I saw the bottom black line but the white did not popup
Try a different browser?
I have a suggestion.
In post #9 it was said that you want to use it as an app on Kindle. We donât deal with kindle here. You might be able to gain assistance with that though in the Mobile forum
Under , âGetting All Cellsâ what do the three dots(âŚ)
mean after let all cells, does something go here? and where it has input id⌠do all the input idâs go here?
I donât know what you mean with âGetting All Cellsâ. Can you direct me more carefully to the place?
under Getting All Cells
let allCells = [];
function getAllCells(board) {
return Array.from(board.querySelectorAll("input"));
}
⌠(three dots)
All of the cells have an identifier that tells us their row and column.
<input id="item1-2" ... />
do all input idâs go here
Sorry, but that still doesnât help me to understand where you are seeing that.