dbf8.github.io's People
dbf8.github.io's Issues
tip: consisten indentation
It's important to use consistent indentation in your code!
Lines 19 to 23 in dd306f1
tip: put text in an element
It's best to have any text in your html inside of an element. Here, maybe a heading element and a paragraph element?
Lines 17 to 18 in dd306f1
tip: lists
Lists are made up of ul
or ol
(for different types of lists) and each list item inside of an li
. Here you're creating multiple unordered lists (ul
) and filling them with just text!
Lines 21 to 32 in dd306f1
Instead, you'd want something like this:
<ul>
<li>Some Text</li>
<li>Some Text</li>
<li>Some Text</li>
</ul>
tip: consider property declaration ordering
There are many ways to order your property declarations, including randomly, alphabetically or by type. I suggest ordering them by type, following the tips outlined in this article
Lines 1 to 11 in dd306f1
tip: use `p` tags for text and `div`s for structure
Any text you have should go inside of a text element, like p
, a
, span
or an h#
element. div
s are useful for structuring and organizing content
Lines 36 to 41 in dd306f1
tip: bracket goes on the same line as the selector
You want to have the bracket on the same line as your selector here! This convention you're doing here is common in C and C++ code but not in CSS
Lines 64 to 75 in dd306f1
tip: spacing in html attributes
The convention when writing HTML is to not add spacing in your attributes or around attribute assignment (the =
).
So instead of this:
Lines 42 to 43 in dd306f1
You'd have something like this:
<div class="topright">
<ul class="links">
tip: list items (`li`) have to go in a list type (either `ul` or `ol`)
All list items (li
) have to go in on of the two list types (so either ul
or ol
)
Lines 50 to 52 in dd306f1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.