Jump to content

Basic Web Dev questions

Go to solution Solved by Ciccioo,

Question 2: What attributes does the element have? Write the attribute names

html attributes are those:

<tagname attribute1 = "value1" attribute2 = "value2" attribute3 = "value3">            content</tagname>

so your answer is wrong because you just listed the classes of the element, which are not its attributes

 

 

Question 3: What happens if you leave out a citation sign for the attribute class?

you can try yourself

spoiler alert: it will only recognize the first class (learn) and it will try to interpret "easy" as an attribute

<p lang="la" class="poesi jambisk" id="a"<>

Miser Catulle desinas ineptire

Et quod visum perdire peridtum ducas

</p>

 

Question: What does the p element do?

 

My answer: It makes a paragraph or it definers a paragraph.

 

 

Are any of these correct?

I don't entirely understand the question, I am on Web development 1 in Sweden.

(I have translated this from Swedish)

 

Question 2: What attributes does the element have? Write the attribute names

 

Answer: The attributes are lang, id and class.

 

Question 3: What happens if you leave out a citation sign for the attribute class?

 

Answer: it will only recognize the first class (learn) and it will try to interpret "easy" as an attribute

 

Question 4: What's wrong in following code?

<p>Lorem ipsum.</p> class="nonsens">

The class p, should be written like this; "<p class=nonsens>text</p>".

So p becomes a class and the class is not inside p (paragraph). 

 

Edit: The post has been fix to represent the question of the assignment and not what I see in the book now.

PC  Specs 2022:

Spoiler
  • CPU
    AMD Ryzen R9 5900x @ 5.1GHz - Auto OC
  • Curve Optimizer Magnitude: -20
  • Motherboard
    ASUS ROG STRIX x570-F Gaming
  • RAM
                                        Kingston Fury 32GB DDR4 3200MHz 16x2GB
  • GPU
    MSI 3070 8GB Ventus 2x OC
  • Case
    LIAN LI LANCOOL MESH II Mesh RGB Black
  • Storage
    Kingston NV1 2TB M.2. NVMe
  • PSU
    Seasonic Focus GX 850w 
  • Display(s)
    MSI OPTIX MAG 251RX IPS 240hz & ASUS MG248Q Vertical 144hz & Dell 60hz
  • Cooling
    NZXT Kraken x73 360mm
  • Keyboard
    Tt eSports Meka G1
  • Mouse
    Logitech G Pro Wireless
  • Operating System
    -Windows 10 Professional 64bit
Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/
Share on other sites

Link to post
Share on other sites

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3876896
Share on other sites

Link to post
Share on other sites

Is it;

It makes or it defines a paragraph?

I don't know how to phrase it.

PC  Specs 2022:

Spoiler
  • CPU
    AMD Ryzen R9 5900x @ 5.1GHz - Auto OC
  • Curve Optimizer Magnitude: -20
  • Motherboard
    ASUS ROG STRIX x570-F Gaming
  • RAM
                                        Kingston Fury 32GB DDR4 3200MHz 16x2GB
  • GPU
    MSI 3070 8GB Ventus 2x OC
  • Case
    LIAN LI LANCOOL MESH II Mesh RGB Black
  • Storage
    Kingston NV1 2TB M.2. NVMe
  • PSU
    Seasonic Focus GX 850w 
  • Display(s)
    MSI OPTIX MAG 251RX IPS 240hz & ASUS MG248Q Vertical 144hz & Dell 60hz
  • Cooling
    NZXT Kraken x73 360mm
  • Keyboard
    Tt eSports Meka G1
  • Mouse
    Logitech G Pro Wireless
  • Operating System
    -Windows 10 Professional 64bit
Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3876907
Share on other sites

Link to post
Share on other sites

@Hazy125 might be able to help you out with that. :)

ON A 7 MONTH BREAK FROM THESE LTT FORUMS. WILL BE BACK ON NOVEMBER 5th.


Advisor in the 'Displays' Sub-forum | Sony Vegas Pro Enthusiast & Advisor


  Tech Tips Christian Fellowship Founder & Coordinator 

Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3876920
Share on other sites

Link to post
Share on other sites

Is it;

It makes or it defines a paragraph?

I don't know how to phrase it.

I would say it defines, because otherwise it would be text anyways.

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3876933
Share on other sites

Link to post
Share on other sites

I would say it defines, because otherwise it would be text anyways.

Ok, thanks.

 

I have more questions, can you help with them too?

(Main post has been edited)

PC  Specs 2022:

Spoiler
  • CPU
    AMD Ryzen R9 5900x @ 5.1GHz - Auto OC
  • Curve Optimizer Magnitude: -20
  • Motherboard
    ASUS ROG STRIX x570-F Gaming
  • RAM
                                        Kingston Fury 32GB DDR4 3200MHz 16x2GB
  • GPU
    MSI 3070 8GB Ventus 2x OC
  • Case
    LIAN LI LANCOOL MESH II Mesh RGB Black
  • Storage
    Kingston NV1 2TB M.2. NVMe
  • PSU
    Seasonic Focus GX 850w 
  • Display(s)
    MSI OPTIX MAG 251RX IPS 240hz & ASUS MG248Q Vertical 144hz & Dell 60hz
  • Cooling
    NZXT Kraken x73 360mm
  • Keyboard
    Tt eSports Meka G1
  • Mouse
    Logitech G Pro Wireless
  • Operating System
    -Windows 10 Professional 64bit
Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3876948
Share on other sites

Link to post
Share on other sites

Ok, thanks.

 

I have more questions, can you help with them too?

Sure, I am a amateur, but know my way around HTML and such

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3876955
Share on other sites

Link to post
Share on other sites

Sure, I am a amateur, but know my way around HTML and such

Good enough :P

This is pretty basic stuff anyways. So you can probably help me.

PC  Specs 2022:

Spoiler
  • CPU
    AMD Ryzen R9 5900x @ 5.1GHz - Auto OC
  • Curve Optimizer Magnitude: -20
  • Motherboard
    ASUS ROG STRIX x570-F Gaming
  • RAM
                                        Kingston Fury 32GB DDR4 3200MHz 16x2GB
  • GPU
    MSI 3070 8GB Ventus 2x OC
  • Case
    LIAN LI LANCOOL MESH II Mesh RGB Black
  • Storage
    Kingston NV1 2TB M.2. NVMe
  • PSU
    Seasonic Focus GX 850w 
  • Display(s)
    MSI OPTIX MAG 251RX IPS 240hz & ASUS MG248Q Vertical 144hz & Dell 60hz
  • Cooling
    NZXT Kraken x73 360mm
  • Keyboard
    Tt eSports Meka G1
  • Mouse
    Logitech G Pro Wireless
  • Operating System
    -Windows 10 Professional 64bit
Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3876960
Share on other sites

Link to post
Share on other sites

<p lang="la" class="learn easy" id="a"<>

 Italia Pulchra est.

 Natura Italiae nos delectat

</p>

 

Question: What does the p element do?

 

My answer: It makes a paragraph or it definers a paragraph.

 

 

Are any of these correct?

I don't entirely understand the question, I am on Web development 1 in Sweden.

(I have translated this from Swedish)

 

Question 2: What attributes does the element have? Write the attribute names

 

Answer: The attributes are Easy and Learn.

 

Question 3: What happens if you leave out a citation sign for the attribute class?

 

Answer: (Still looking for it)

 

Question 4: What's wrong in following code?

<p>Lorem ipsum.</p> class="nonsens">

Class is outside of text content and will therefor not be used. (Or something like that)

A to Q 4: the class of p should be in the first tag like <p class=nonsens>text</p>. 

[CPU: AMD FX-6100 @3.3GHz ] [MoBo: Asrock 970 Extreme4] [GPU: Gigabyte 770 OC ] [RAM: 8GB] [sSD: 64gb for OS] [PSU: 550Watt Be Quiet!] [HDD: 1TB] [CPU cooler: Be Quiet! Shadow Rock Pro Sr1]  -Did i solve your question/problem? Please click 'Marked Solved'-

Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3876994
Share on other sites

Link to post
Share on other sites

Question 2:

A language tag (http://www.w3schools.com/tags/ref_language_codes.asp)

And an ID attribute. Something like what Wikipedia would use to be able to redirect to a different position on the page.

(http://www.w3schools.com/tags/att_global_id.asp)

 

Question 3:

I believe it straight up don't work, but don't know what would happen. I say just try it out.

 

As for question 4; I believe you are right.

Maybe you have  to word your answers differently.

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3877020
Share on other sites

Link to post
Share on other sites

A to Q 4: the class of p should be in the first tag like <p class=nonsens>text</p>. 

That's how it should be, not why it's wrong ..?

Don't I need to explain why it's wrong to prove that I understand it?

PC  Specs 2022:

Spoiler
  • CPU
    AMD Ryzen R9 5900x @ 5.1GHz - Auto OC
  • Curve Optimizer Magnitude: -20
  • Motherboard
    ASUS ROG STRIX x570-F Gaming
  • RAM
                                        Kingston Fury 32GB DDR4 3200MHz 16x2GB
  • GPU
    MSI 3070 8GB Ventus 2x OC
  • Case
    LIAN LI LANCOOL MESH II Mesh RGB Black
  • Storage
    Kingston NV1 2TB M.2. NVMe
  • PSU
    Seasonic Focus GX 850w 
  • Display(s)
    MSI OPTIX MAG 251RX IPS 240hz & ASUS MG248Q Vertical 144hz & Dell 60hz
  • Cooling
    NZXT Kraken x73 360mm
  • Keyboard
    Tt eSports Meka G1
  • Mouse
    Logitech G Pro Wireless
  • Operating System
    -Windows 10 Professional 64bit
Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3877195
Share on other sites

Link to post
Share on other sites

Question 2: What attributes does the element have? Write the attribute names

html attributes are those:

<tagname attribute1 = "value1" attribute2 = "value2" attribute3 = "value3">            content</tagname>

so your answer is wrong because you just listed the classes of the element, which are not its attributes

 

 

Question 3: What happens if you leave out a citation sign for the attribute class?

you can try yourself

spoiler alert: it will only recognize the first class (learn) and it will try to interpret "easy" as an attribute

Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3877641
Share on other sites

Link to post
Share on other sites

Question 2:

A language tag (http://www.w3schools.com/tags/ref_language_codes.asp)

And an ID attribute. Something like what Wikipedia would use to be able to redirect to a different position on the page.

(http://www.w3schools.com/tags/att_global_id.asp)

 

Question 3:

I believe it straight up don't work, but don't know what would happen. I say just try it out.

 

As for question 4; I believe you are right.

Maybe you have  to word your answers differently.

Nr 4 better now?

PC  Specs 2022:

Spoiler
  • CPU
    AMD Ryzen R9 5900x @ 5.1GHz - Auto OC
  • Curve Optimizer Magnitude: -20
  • Motherboard
    ASUS ROG STRIX x570-F Gaming
  • RAM
                                        Kingston Fury 32GB DDR4 3200MHz 16x2GB
  • GPU
    MSI 3070 8GB Ventus 2x OC
  • Case
    LIAN LI LANCOOL MESH II Mesh RGB Black
  • Storage
    Kingston NV1 2TB M.2. NVMe
  • PSU
    Seasonic Focus GX 850w 
  • Display(s)
    MSI OPTIX MAG 251RX IPS 240hz & ASUS MG248Q Vertical 144hz & Dell 60hz
  • Cooling
    NZXT Kraken x73 360mm
  • Keyboard
    Tt eSports Meka G1
  • Mouse
    Logitech G Pro Wireless
  • Operating System
    -Windows 10 Professional 64bit
Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3877831
Share on other sites

Link to post
Share on other sites

html attributes are those:

<tagname attribute1 = "value1" attribute2 = "value2" attribute3 = "value3">            content</tagname>

so your answer is wrong because you just listed the classes of the element, which are not its attributes

 

 

you can try yourself

spoiler alert: it will only recognize the first class (learn) and it will try to interpret "easy" as an attribute

I have edited  main post now. It's all correct now?

PC  Specs 2022:

Spoiler
  • CPU
    AMD Ryzen R9 5900x @ 5.1GHz - Auto OC
  • Curve Optimizer Magnitude: -20
  • Motherboard
    ASUS ROG STRIX x570-F Gaming
  • RAM
                                        Kingston Fury 32GB DDR4 3200MHz 16x2GB
  • GPU
    MSI 3070 8GB Ventus 2x OC
  • Case
    LIAN LI LANCOOL MESH II Mesh RGB Black
  • Storage
    Kingston NV1 2TB M.2. NVMe
  • PSU
    Seasonic Focus GX 850w 
  • Display(s)
    MSI OPTIX MAG 251RX IPS 240hz & ASUS MG248Q Vertical 144hz & Dell 60hz
  • Cooling
    NZXT Kraken x73 360mm
  • Keyboard
    Tt eSports Meka G1
  • Mouse
    Logitech G Pro Wireless
  • Operating System
    -Windows 10 Professional 64bit
Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3877836
Share on other sites

Link to post
Share on other sites

all good ^_^

I've editied it a few times but it looks good now ^^

PC  Specs 2022:

Spoiler
  • CPU
    AMD Ryzen R9 5900x @ 5.1GHz - Auto OC
  • Curve Optimizer Magnitude: -20
  • Motherboard
    ASUS ROG STRIX x570-F Gaming
  • RAM
                                        Kingston Fury 32GB DDR4 3200MHz 16x2GB
  • GPU
    MSI 3070 8GB Ventus 2x OC
  • Case
    LIAN LI LANCOOL MESH II Mesh RGB Black
  • Storage
    Kingston NV1 2TB M.2. NVMe
  • PSU
    Seasonic Focus GX 850w 
  • Display(s)
    MSI OPTIX MAG 251RX IPS 240hz & ASUS MG248Q Vertical 144hz & Dell 60hz
  • Cooling
    NZXT Kraken x73 360mm
  • Keyboard
    Tt eSports Meka G1
  • Mouse
    Logitech G Pro Wireless
  • Operating System
    -Windows 10 Professional 64bit
Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3877969
Share on other sites

Link to post
Share on other sites

html attributes are those:

<tagname attribute1 = "value1" attribute2 = "value2" attribute3 = "value3">            content</tagname>

so your answer is wrong because you just listed the classes of the element, which are not its attributes

 

 

you can try yourself

spoiler alert: it will only recognize the first class (learn) and it will try to interpret "easy" as an attribute

You explaned it so much better than i ever could :D I wanted to answer it why it works this way but half way trough i was like This doens't make any sense ;p

[CPU: AMD FX-6100 @3.3GHz ] [MoBo: Asrock 970 Extreme4] [GPU: Gigabyte 770 OC ] [RAM: 8GB] [sSD: 64gb for OS] [PSU: 550Watt Be Quiet!] [HDD: 1TB] [CPU cooler: Be Quiet! Shadow Rock Pro Sr1]  -Did i solve your question/problem? Please click 'Marked Solved'-

Link to comment
https://linustechtips.com/topic/285562-basic-web-dev-questions/#findComment-3894555
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×