Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bad code?

Featured Replies

Anybody willing to check the coding on www.jdonadel.com for me? I know it's not a complete site but I'm looking to learn from my mistakes on the way I've coded this. This is the first time I've tried to do something like this.

 

Cheers if anyone finds the time to help.

I would suggest you do a bit more research - maybe have a look at http://www.w3schools.com/xhtml/default.asp {I'm sure others will recommend other sites} and learn a bit more about layout, coding etc.

 

Re your example, you need to start with a "Document Type Definitions (DTD)" - see An XHTML Example, then fill your code in from there.

 

There should be no code outwith the </body> </html> as you have with the logo

 

Once you think you are ready, you can try validating it using the W3C Validator

 

Have go and if you're still stuck come back to this

  • Author

Oh, the logo at the bottom of the page isn't part of it. I meant to delete that before I uploaded it, I hadn't noticed. I usually do set a DOCTYPE but I rushed uploading this just to see if I'd gone the long way round in the way I'd coded it.

 

I validated it before posting and found some errors but it can be completely error free and still be coded in a long winded way, that's all I'm trying to avoid. I didn't want to correct them before uploading.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.